Closed jimmywarting closed 8 years ago
Hey Jimmy, sorry for the late response. Do you envision Bristol switching files and incrementing some digit in the filename when a certain line count is hit, or physically removing the top line of the logfile every time a new line is written?
The former is a possibility (though you might be better served by logrotate than a nonstandard solution built into Bristol), but the latter would probably be untenable given the crazy amount of disk access that would incur.
Closing -- logrotate is the standard and recommended solution for this :)
Senario: A site is kept alive for a long time or it tries try-catch over and over again and logging all kind of error. It will produce file log's of Gigabytes
It would be sweet if I could configure to have something like a limited history of 5000 set of logs or lines or bytes