Quick Description
If the server runs for a long time, the log file fills up and it never released to allow rotation or clean up.
Explanation
The "FileWriter" plugin opens a file when the server starts, and does not release its handle until the server stops. This can leave to out-of-space errors as the OS can never tidy/rotate the log files.
Other applications may start/stop the servers (e.g. Apache) to allow logs to be cleaned up, but that is not practical in this case.
The suggestion is to add "MaxFileSize" and "MaxTime" as optional limits to the FileLogger, thus allowing the server to release handles and the OS can then tidy.
It is noted that this could be done in another plugin, but this feature would presumably be useful to others, and is a "set and forget" bit of code; therefore I'm suggesting you can include this in the main repo.
Example usage:
All settings optional.
Quick Description
If the server runs for a long time, the log file fills up and it never released to allow rotation or clean up.
Explanation
The "FileWriter" plugin opens a file when the server starts, and does not release its handle until the server stops. This can leave to out-of-space errors as the OS can never tidy/rotate the log files.
Other applications may start/stop the servers (e.g. Apache) to allow logs to be cleaned up, but that is not practical in this case.
The suggestion is to add "MaxFileSize" and "MaxTime" as optional limits to the FileLogger, thus allowing the server to release handles and the OS can then tidy.
It is noted that this could be done in another plugin, but this feature would presumably be useful to others, and is a "set and forget" bit of code; therefore I'm suggesting you can include this in the main repo.
Example usage:
All settings optional.