ServerLogSaver
ServerLogSaver
Description
Simply put, this will backup the server.log file to a directory, and then clear the existing server.log file. This is to reduce RAM usage of the server host and effectively reduce lag for server players.
Most of the functions in this are configurable, such as backup location, time delay between backups, choice of Size and Time rotations and more!
Download the Jar
- ServerLogSaver v2.1.1
- ServerLogSaver v2.1.0
- ServerLogSaver v2.0.2
- ServerLogSaver v2.0.1
- ServerLogSaver v2.0
Download the Source
Old Source ServerLogSaver src v0.1b
Commands
- /sls copy
- /sls zip
Current Features
- User defined time for backup intervals (default time is 1 day, 1440 minutes)
- Backups are time stamped for ease of use
- Compress the logs
- Check for 0 byte content
- Console notice (optional)
- Choice of time/size/restart rotations (Time in minutes/Size in KB/Restart only backs up on server start)
- User defined backup storage location
- User defined backup file names (prefix and time setup)
- In-game command to do backups on will
- Choose the number of logs to keep before purging
To-Do
- Record commands used in a separate file (Probably make a separate plugin for this)
- need more ideas, feed back would help :D
Change-Log
Version 2.1.1
- Updated to 1.2.5 R4.0
Version 2.0.2
- No longer backs up as soon as the server starts with 'time' rotation
Version 2.0.1
- Added 'restart' rotation choice
Version 2.0
- Complete re-code
- Added in-game commands
- Updated to latest config
-
View User Profile
-
Send Message
Posted Apr 22, 2014Besides saving ram, would this plugin reduce hard drive space used? Would it increase hard drive space used?
-
View User Profile
-
Send Message
Posted Sep 27, 2013Still working 100% on 1.6.4.
-
View User Profile
-
Send Message
Posted Sep 24, 2013It STILL works perfectly fine, no worries guys :)
-
View User Profile
-
Send Message
Posted Sep 24, 2013Bring it back to life!
-
View User Profile
-
Send Message
Posted Jul 21, 2013Should at least update the description so people know it's not just for 1.2.5...
-
View User Profile
-
Send Message
Posted Jul 10, 2013Works fine on 1.6.2 :D
-
View User Profile
-
Send Message
Posted May 13, 2013Works fine on 1.5.2
Thank you :)
-
View User Profile
-
Send Message
Posted May 8, 2013Could someone get this updated? :D
-
View User Profile
-
Send Message
Posted Apr 16, 2013@PAO87
I suggest you rsync them yourself or schedule something using cronjob. ;)
-
View User Profile
-
Send Message
Posted Mar 19, 2013it would be nice, to have a way to automaticly upload files to ftp or dropbox.. for external backup..
-
View User Profile
-
Send Message
Posted Feb 9, 2013Hi there works on 1.4.7R1.0 only getting sometimes half console files
-
View User Profile
-
Send Message
Posted Jan 26, 2013Would be nice with a reload command for the config :)
-
View User Profile
-
Send Message
Posted Dec 23, 2012Works perfectly on 1.4.6!
-
View User Profile
-
Send Message
Posted Nov 8, 2012I tried this on 1.4.2-0.2 BETA and it prevented everyone from connecting to the server. Anyone else see this behaviour?
-
View User Profile
-
Send Message
Posted Sep 9, 2012Works flawlessly on 1.3.2R0.2, loving it ! <3
-
View User Profile
-
Send Message
Posted Aug 22, 2012Does it works for 1.3.1 ???
-
View User Profile
-
Send Message
Posted Aug 4, 2012@Erwandir
Try changing the rotation type to "time". Then it will backup the file on a timer, configurable.
-
View User Profile
-
Send Message
Posted Jul 31, 2012Hey Maybe am I wrong, but for the moment it saves logs until a specified size. If it is right, you should add something which allow us to save logs before a specified time. Like for the backup.
If I'm wrong, then sorry :p
-
View User Profile
-
Send Message
Posted Jul 17, 2012@po5
I don't understand why, but thankyou for the love :D
-
View User Profile
-
Send Message
Posted Jul 15, 2012I love this plugin.