Daily Log
Daily Log is a plugin that automatically archives your server's log files based on configurable criteria. Other solutions currently exist, but Daily Log's goal is to make this task easy while doing the following:
- Prevent log files from getting too large
- Make it easier to manager the server log files
- Reduce the space required to store the logs by zip archiving them
- Quickly archive the log file while developing or testing plugins to start with a FRESH log file
Features
Archive log file with one or more options:
- At a configurable hour 0-23 each day [enabled in config by default for hour 0 (midnight)]
- Repeat archive every 1-24 hours [defaults to every 24 hours]
- When the log file reaches a configurable size [disabled in config by default]
- When the plugin is unloaded (ex server reboot) [disabled in config by default]
You can also archive the log file with the command /dlarchive in game or in the console
Optionally zip archived file [enabled in config by default - disable if you prefer plain text .log files in the archive folder]
You can specify in the config the number of days to keep archived log files
Configuration
- Place DailyLog.jar in your plugin folder and restart server.
- If upgrading from Beta version, delete the old config.yml file from the plugin folder.
- Edit config.yml in the plugins/DailyLog folder. The default config will archive the log file at hour 0 (midnight) and will zip the archive. The other options are disabled in the default config and must be enabled to use.
- After editing config.yml, use command /dlreload in game or in console to reload the config file
Commands
- /dlarchive - archive the server's log file immediately
- /dlreload - reload plugin's configuration
Permissions
- dailylog.dlarchive - Allows use of the /dlarchive archive command
- dailylog.dlreload - Allows use of the /dlreload reload command
Donations
- List of Donors
- xXTreePuncherXx - Server IP: mc.punchcraft.us