LapisMirror
LapisMirror copied to clipboard
Reducing the size of the log
I love LapisMirror and the ability to log everything it does.
However, I've been running it long enough that the log for my derivative, VelvetBot, has reached 300 MB of size. I propose that we keep only, say, about the 10 most recent logs, with each log only being created when it is run. If it is run for an 11th time, delete the oldest log and create a new one.
Or maybe it's a non-issue? Discuss here.
TBH, I run on Heroku, which just logs to stdout and then autorotates its logs. I'm not opposed to log rotation, but I'd rather use an existing library if possible.