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
@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.
"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?
@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 :)
@Laserhog But why you don't try to update your plugin?
@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 :)
Could 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.
@kdude63
Is it not working with the latest versions?
Please update this. :[
@awesomebilly
Yes it is possible. Read the description and the config.yml's contents, you can't miss it..
Hello, 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.
i'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
Please update its a great plugin
Can you update this plugin?
<<reply 688009="">>
:D
Glad you are still using it and happy to have helped
Still using this plugin, can't tell you how much it has helped me in the past. September 8th, first page. :)
thanks so much :D
@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.
@GioboiMC
Well when i tested it it was saving logs perfectly fine.
What settings have you chosen in the config?
@Laserhog
It doesn't save logs at all lol.