Open Ueland opened 12 years ago
Let's just say .. I'm working on it .. ^_^ Aside of a fuckload of other things.
cu, w0lf.
If you want to stay on the Linux only track people could use the logrotate service and configure it in /etc/logrotate.d. But I wouldn't stay on that track.
@hashworks agreed, i preffer to simply read all contents of the log file, prune it, then move the content over to a new log file with todays date on it or something like that
All bot output is today sent to logs/vikingbot.log, the log is cleared on restart but nothing more. The log should be rotated on a specified basis and on restart instead of simply nuked.