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 Jul 14, 2012@XeonG8
This used to be the case, yes. I believe bukkit has modified how they handle the server.log now.
Now, this is just a convenience plugin which some people still like and use.
-
View User Profile
-
Send Message
Posted Jul 13, 2012"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."
Really?
-
View User Profile
-
Send Message
Posted Jul 12, 2012@IJosephI
Alright, alright, you convinced me to update it to 1.2.5. Latest version is TESTED and WORKING with 1.2.5 R4.0.
However, one feature in it (ClearAtMaxLogs) I still recommend people to be cautious about trying because I seem to have some problems with it. That's not saying it doesn't work, just, test it first :)
-
View User Profile
-
Send Message
Posted Jul 8, 2012@Laserhog But why you don't try to update your plugin?
-
View User Profile
-
Send Message
Posted Jun 20, 2012@ProjectInfinity
Sure, HEREis the latest source. I wouldn't be surprised if this was a problem because I haven't been updating it at all since 1.1 R4 and haven't even tried it against the latest RB. This was the first program I ever made for java so don't be surprised if you see some messy code :)
-
View User Profile
-
Send Message
Posted Jun 20, 2012Could you upload the source of the latest builds please? I have a crash I am thinking might be related to this plugin, but I don't wanna point fingers before checking the source out.
-
View User Profile
-
Send Message
Posted Jun 9, 2012@kdude63
Is it not working with the latest versions?
-
View User Profile
-
Send Message
Posted Jun 9, 2012Please update this. :[
-
View User Profile
-
Send Message
Posted May 25, 2012@awesomebilly
Yes it is possible. Read the description and the config.yml's contents, you can't miss it..
-
View User Profile
-
Send Message
Posted May 13, 2012Hello, is it possible to change where this plugin backs up to? I would like to have it backup to my wamps server so the players can view it for cheating.
-
View User Profile
-
Send Message
Posted May 12, 2012i've been using this plugin since I first started my server, never once had a problem with it.
Also for the last to comments, it still works fine for me and im using the latest beta build for 1.2.5
-
View User Profile
-
Send Message
Posted May 10, 2012Please update its a great plugin
-
View User Profile
-
Send Message
Posted May 9, 2012Can you update this plugin?
-
View User Profile
-
Send Message
Posted May 7, 2012<<reply 688009="">>
:D
Glad you are still using it and happy to have helped
-
View User Profile
-
Send Message
Posted May 4, 2012Still using this plugin, can't tell you how much it has helped me in the past. September 8th, first page. :)
-
View User Profile
-
Send Message
Posted Mar 10, 2012thanks so much :D
-
View User Profile
-
Send Message
Posted Mar 10, 2012@GioboiMC
Thats the OLD config from before 2.0.0. When updating to 2.0.0 or higher please let a new config file generate.
I had a notice at the top saying to do this but this was a while ago and i removed it when i released 2.1.0. When you do this and allow a new config to generate it should all work fine. The reason people have to do this is because, in updating to the latest config, i changed the layout of the config (and added a few things) so this means you need to delete the old and allow for a new.
-
View User Profile
-
Send Message
Posted Mar 10, 2012-
View User Profile
-
Send Message
Posted Mar 10, 2012@GioboiMC
Well when i tested it it was saving logs perfectly fine.
What settings have you chosen in the config?
-
View User Profile
-
Send Message
Posted Mar 9, 2012@Laserhog
It doesn't save logs at all lol.