BananaLogArchiver
About BananaLogArchiver
This is a continuation of the BananaLogArchiver originally written by codename_B. This plugin will automatically archive your server.log when it reaches a certain size. The size is configurable.

Features
- Automatically archive your server.log when it reaches a certain size.
- Automatically creates log-archive directory if it does not exist.
- Compresses the archived log file as dd-MM-yy-hh-mm.zip.
- The file size to trigger archiving is configurable.
How to install
Just drop the jar file in your plugins directory and restart your server.
Configuration
max-size-in-kb: Size of server.log to trigger archive and compression.
Change Log
v0.2 - Mar 06, 2012
- Initial version.
- Added support for CB 1.2.3-R0.1.
-
View User Profile
-
Send Message
Posted Apr 10, 2013Cool! :D I'll try it. Idea: It deleted the server.log automaticly if there're X Server Logs in the folder :D
-
View User Profile
-
Send Message
Posted Mar 11, 2013@karitori
It clears the existing log.
-
View User Profile
-
Send Message
Posted Mar 11, 2013does this delete the server log file once its archived?
-
View User Profile
-
Send Message
Posted Dec 31, 2012Still working on 1.4.6. However I too would like to be able to have it backup after a configurable amount of time like @burgviking2012 suggested. Thanks!
-
View User Profile
-
Send Message
Posted Oct 8, 2012Very useful plugin :)
Works fine with latest 1.3.2 craftbukkit.
Thanks!
-
View User Profile
-
Send Message
Posted May 29, 2012@burgviking2012
I'll look into it.
-
View User Profile
-
Send Message
Posted May 29, 2012@cnaude
Would you ever consider adding an option to this to automatically log after a certain amount of time (i.e. every week) instead of, or alongside the size?
-
View User Profile
-
Send Message
Posted May 6, 2012@fablecraft
I recommend putting that step in your start script.
-
View User Profile
-
Send Message
Posted May 6, 2012Hey. A suggestion: The Plugin archives the log everytime the server stops. This way it would be easy for those that are setting up a new server, because the boot-text is always on the top of the file.
-
View User Profile
-
Send Message
Posted Apr 18, 2012Thank god I found this... I couldnt figure out why I was having a bit of trouble with my server. Apparently in less than a month I had an 80gb log file from errors that occured while I was gone. p.p
-
View User Profile
-
Send Message
Posted Mar 11, 2012@cnaude
Thanks, I guess my reading comprehension needs some work. Works fine with the right numbers in the right place.
-
View User Profile
-
Send Message
Posted Mar 8, 2012@epicbastion
The log size is configured in Kilobytes. If you want your log to roll at 50K you should set max-size-in-kb to 50. By setting yours to 50,000 you're telling it roll when the log is at 50,000KB which is 50MB.
-
View User Profile
-
Send Message
Posted Mar 8, 2012This does not seem to be working on the cb1.2.3 beta, it loads and says its working, i have the size set for 50000.0 when it gets over 50k the log just keeps going. any ideas.
-
View User Profile
-
Send Message
Posted Mar 7, 2012Really appreciate this. Thanks.