Skip to content

Automated log Archiving (Enhancement) #241

@joker-119

Description

@joker-119

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions