Daily Log not activating #1


  • Defect
  • Accepted
Open
Assigned to _ForgeUser9848971
  • _ForgeUser10483760 created this issue Jul 16, 2013

    What steps will reproduce the problem?
    1. Latest version of bukkit (version below) and DailyLog
    2. DailyLog old config.yml was deleted.
    3.

    What is the expected output? What do you see instead?
    Expect log file roll over at midnight (previously working fine on 1.5.x).
    Midnight comes and goes, nothing happens.

    What version of the product are you using?
    2013-07-16 09:06:29 [INFO] This server is running CraftBukkit version git-Bukkit-1.5.2-R1.0-27-gdc25312-b2815jnks (MC: 1.6.2) (Implementing API version 1.6.2-R0.1-SNAPSHOT)
    .
    2013-07-16 09:06:30 [INFO] [DailyLog] Loading DailyLog v1.5R2
    .
    2013-07-16 09:06:34 [INFO] [DailyLog] Enabling DailyLog v1.5R2
    2013-07-16 09:06:34 [INFO] [DailyLog] Scheduled archive time for hour 0.
    2013-07-16 09:06:34 [INFO] [DailyLog] DailyLog enabled.

    Do you have an error log of what happened?
    Here is the 5 mins before and after scheduled time:
    2013-07-16 23:54:47 [INFO] §e[PvE]§f §6AudreyC_12§f found out what the ground feels like
    2013-07-16 23:55:21 [SEVERE] Reached end of stream for /72.222.180.31
    2013-07-16 23:55:26 [SEVERE] Reached end of stream for /72.222.180.31
    2013-07-16 23:55:39 [SEVERE] Reached end of stream for /72.222.180.31
    2013-07-16 23:55:43 [SEVERE] Reached end of stream for /72.222.180.31
    2013-07-16 23:55:58 [SEVERE] Reached end of stream for /72.222.180.31
    2013-07-16 23:56:03 [SEVERE] Reached end of stream for /72.222.180.31
    2013-07-16 23:56:04 [SEVERE] Reached end of stream for /37.59.35.201
    2013-07-16 23:56:29 [SEVERE] Reached end of stream for /173.255.233.106
    2013-07-16 23:56:42 [INFO] [Orange Belt] AudreyC_12: do you have any coal that i could have for my jet pack?
    2013-07-16 23:56:48 [INFO] [Blue Belt] xxx: no
    2013-07-16 23:57:00 [INFO] [Orange Belt] xxx: ok, thanks.
    2013-07-16 23:57:21 [INFO] [Orange Belt] xxx: *thanks anyway
    2013-07-16 23:57:34 [INFO] xxx issued server command: /spawn
    2013-07-16 23:58:26 [SEVERE] Reached end of stream for /76.72.160.242
    2013-07-16 23:58:28 [INFO] [ClearLag] Warning Ground items will be removed in one minute!
    2013-07-16 23:59:18 [SEVERE] Reached end of stream for /173.255.233.106
    2013-07-16 23:59:25 [INFO] xxx issued server command: /spawn
    2013-07-16 23:59:28 [INFO] [ClearLag] Removed 501 Entities!
    2013-07-17 00:00:03 [SEVERE] Reached end of stream for /172.0.114.203
    2013-07-17 00:00:29 [SEVERE] Reached end of stream for /94.231.109.64
    2013-07-17 00:00:31 [SEVERE] Reached end of stream for /94.231.109.64
    2013-07-17 00:01:07 [SEVERE] Reached end of stream for /37.59.35.201
    2013-07-17 00:02:10 [SEVERE] Reached end of stream for /173.255.233.106
    2013-07-17 00:02:16 [INFO] Unknown command. Type "help" for help.
    2013-07-17 00:03:02 [SEVERE] Reached end of stream for /99.62.164.172
    2013-07-17 00:03:45 [INFO] [Orange Belt] xxx: go into the tree house and there will be a bed to sleep in
    2013-07-17 00:04:03 [SEVERE] Reached end of stream for /75.176.61.28
    2013-07-17 00:04:04 [INFO] xxx[/75.176.61.28:49236] logged in with entity id 1973471 at ([world1] 58.896612069587306, 63.0, 224.86996900636973)
    2013-07-17 00:04:07 [INFO] [Blue Belt] xxx: call me to see my house

    Please provide any additional information below.
    config.yml

    # DailyLog Default Config Version (DO NOT CHANGE).
    version: 1.5R
    # timeEnabled: Enable Archiving at a specific time if true
    # timeArchive: hour for first archive (0-23).  Defaults to 0 if timeArchive is invalid.
    # timeRepeat: number of hours between archives (1-24). Defaults to 24 if timeRepeat is invalid.
    timeEnabled: true
    timeArchive: 0
    timeRepeat: 24
    # sizeEnabled: Enable Archiving by Log Size if true
    # SizeMax: Maximum Allowable Log Size in Kilobytes. Defaults to 5000 if sizeMax is invalid.
    sizeEnabled: false
    sizeMax: 5000
    # unloadEnabled: archive log file when plugin is unloaded (ex on server shutdown or restart) if true.
    unloadEnabled: false
    # zipEnabled: zip the archived log file if true.
    zipEnabled: true
    # retention: number of days to keep archived files. 0 = disable removing old files
    retention: 0

  • _ForgeUser10483760 added the tags New Defect Jul 16, 2013
  • _ForgeUser10483760 posted a comment Jul 19, 2013

    It does appear to be firing randomly, for example, the below from the top of my server.log file today :

    2013-07-19 02:49:24 [INFO] [DailyLog] << LOG START >>

  • _ForgeUser9848971 posted a comment Jul 24, 2013

    I run bukkit dev build 2815 on my live server just like you and I'm not having any issues. I will most likely need add a debugging feature to try to resolve this issue. My "feeling" is another plugin may be "unscheduling" the timed event. Until I can get the debugging feature in place, you can either update the ticket with a list of plugins you use, or even just PM me with the list of plugins.

    Did the random firing below archive the file? As I understand if a server is under excessive load, the timed events may not happen when they are supposed to happen due to tick timing. Do you have a low TPS by chance?

  • _ForgeUser9848971 removed a tag New Jul 24, 2013
  • _ForgeUser9848971 added a tag Waiting Jul 24, 2013
  • _ForgeUser10483760 posted a comment Jul 24, 2013

    Hi mc.

    It IS firing, and working as expected when it does. And it seems to be running closer to the scheduled time -

    • 2013-07-20 00:02:09
    • 2013-07-21 00:04:55
    • 2013-07-22 00:12:54
    • 2013-07-23 00:03:10
    • 2013-07-24 00:00:13
    • 2013-07-25 00:01:25

    Personally this kind of variance doesn't bother me - the fact it now appears to be running once every 24 hours is fine. So - don't take any further action on this on my behalf, I'm happy if you close it, but if you wanted to look into it for own curiosity, then fair enough :-)

    FYI the list of plugins is below. I'm on a high-spec machine with plenty of memory, can't say I've ever noticed the tick count below 18-19.

    bPermissions, FlightPack, WorldEdit, BattleTracker, AutoShutdown, Vault, PlayerHeads, LogBlock, YetAnotherSwearingFilter, MobileAdmin, TreeAssist, WorldGuard, dynmap, AutoRanker, EpicBossRecoded, TreasureChest, OpenInv, Email, DailyLog, VariableTriggers, ClearLag, MobArena, afkTerminator, Essentials, WorldBorder, QuickShop, Citizens, CityWorld, ChessCraft, CreeperHeal, VanishNoPacket, Multiverse-Core, AntiXRay, EssentialsChat, GriefPrevention, NaturalHorses, Multiverse-Portals, Multiverse-Inventories, Multiverse-SignPortals, Multiverse-NetherPortals, Dynmap-GriefPrevention, HomeSpawnPlus, BattleArena, ArenaSpleef

  • _ForgeUser10483760 removed a tag Waiting Jul 24, 2013
  • _ForgeUser10483760 added a tag Replied Jul 24, 2013
  • _ForgeUser9848971 posted a comment Jul 26, 2013

    Fair enough and thanks for all the good input/feedback!

    I am going to discuss it with another programmer and find out if there is a better way to schedule the task.


    Edited Jul 26, 2013
  • _ForgeUser9848971 removed a tag Replied Jul 26, 2013
  • _ForgeUser9848971 added a tag Accepted Jul 26, 2013

To post a comment, please login or register a new account.