-
Notifications
You must be signed in to change notification settings - Fork 24
Description
When MA starts an SL server, there should be a configurable option to have MA check the size of that server's log folder (both by total disk size, aswell as number of files present), and if it exceeds a certain (configurable) threashold, it should archive all of the existing log files for said server into a .rar, .tar.gz or (for maximum space efficiency) a .tar.xz. The file time should probably default to .rar, but be configurable by the host.
This can help prevent log folders from reaching massive sizes over long term use of an SL server, without the user having to go in and manually clear them out.
There should also probably be an option to simply delete the old log files, instead of archiving them.
I currently don't have access to my PC (won't for another 5-6 days) otherwise I'd make a PR to add this myself, and if you like, would be more than happy to do so when my PC is back up and running.