This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?1. Latest version of bukkit (version below) and DailyLog2. 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.5R22013-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 like2013-07-16 23:55:21 [SEVERE] Reached end of stream for /72.222.180.312013-07-16 23:55:26 [SEVERE] Reached end of stream for /72.222.180.312013-07-16 23:55:39 [SEVERE] Reached end of stream for /72.222.180.312013-07-16 23:55:43 [SEVERE] Reached end of stream for /72.222.180.312013-07-16 23:55:58 [SEVERE] Reached end of stream for /72.222.180.312013-07-16 23:56:03 [SEVERE] Reached end of stream for /72.222.180.312013-07-16 23:56:04 [SEVERE] Reached end of stream for /37.59.35.2012013-07-16 23:56:29 [SEVERE] Reached end of stream for /173.255.233.1062013-07-16 23:56:42 [INFO] [m[0;33;1m[Orange Belt] [m[0;33;22mAudreyC_12[m[0;37;22m:[m do you have any coal that i could have for my jet pack?[m2013-07-16 23:56:48 [INFO] [m[0;33;1m[Blue Belt] [m[0;33;22mxxx[m[0;37;22m:[m no[m2013-07-16 23:57:00 [INFO] [m[0;33;1m[Orange Belt] [m[0;33;22mxxx[m[0;37;22m:[m ok, thanks.[m2013-07-16 23:57:21 [INFO] [m[0;33;1m[Orange Belt] [m[0;33;22mxxx[m[0;37;22m:[m *thanks anyway[m2013-07-16 23:57:34 [INFO] xxx issued server command: /spawn2013-07-16 23:58:26 [SEVERE] Reached end of stream for /76.72.160.2422013-07-16 23:58:28 [INFO] [0;31;22m[ClearLag] [0;31;1mWarning Ground items will be removed in one minute![m2013-07-16 23:59:18 [SEVERE] Reached end of stream for /173.255.233.1062013-07-16 23:59:25 [INFO] xxx issued server command: /spawn2013-07-16 23:59:28 [INFO] [0;33;22m[0;33;22m[ClearLag] [0;32;1mRemoved 501 Entities![m2013-07-17 00:00:03 [SEVERE] Reached end of stream for /172.0.114.2032013-07-17 00:00:29 [SEVERE] Reached end of stream for /94.231.109.642013-07-17 00:00:31 [SEVERE] Reached end of stream for /94.231.109.642013-07-17 00:01:07 [SEVERE] Reached end of stream for /37.59.35.2012013-07-17 00:02:10 [SEVERE] Reached end of stream for /173.255.233.1062013-07-17 00:02:16 [INFO] Unknown command. Type "help" for help.[m2013-07-17 00:03:02 [SEVERE] Reached end of stream for /99.62.164.1722013-07-17 00:03:45 [INFO] [m[0;33;1m[Orange Belt] [m[0;33;22mxxx[m[0;37;22m:[m go into the tree house and there will be a bed to sleep in[m2013-07-17 00:04:03 [SEVERE] Reached end of stream for /75.176.61.282013-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] [m[0;33;1m[Blue Belt] [m[0;33;22mxxx[m[0;37;22m:[m call me to see my house[m
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: truetimeArchive: 0timeRepeat: 24# sizeEnabled: Enable Archiving by Log Size if true# SizeMax: Maximum Allowable Log Size in Kilobytes. Defaults to 5000 if sizeMax is invalid.sizeEnabled: falsesizeMax: 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 filesretention: 0
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 >>
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?
Hi mc.
It IS firing, and working as expected when it does. And it seems to be running closer to the scheduled time -
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
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.
To post a comment, please login or register a new account.