Open bcail opened 7 years ago
We turned off the python log rotation by setting maxBytes and backupCount to 0 - the logs are being handled by the system logrotate process now.
That's bizarre. I've been out of town and haven't had a chance to look into this. I'm surprised your logs are growing that quickly too--are you running at DEBUG level in production?
We actually are right now, but I don't think we were at the time.
Log rotation isn't working properly for us. After the log got too large, it got rotated, but then multiple log files were being written to at the same time (see how loris.log.3 was written to after loris.log.1, the sizes are incorrect, ...): -rw-rw-r--. 1 loris loris 5.0M Oct 18 08:34 loris.log.5 -rw-rw-r--. 1 loris loris 139 Oct 18 08:35 loris.log.2 -rw-rw-r--. 1 loris loris 139 Oct 18 08:35 loris.log.1 -rw-rw-r--. 1 loris loris 3.0K Oct 18 08:53 loris.log.3 -rw-rw-r--. 1 loris loris 14K Oct 18 08:55 loris.log.4 -rw-rw-r--. 1 loris loris 20K Oct 18 09:08 loris.log