Message286272
I don't see the point - your proposed solution only works if the log file is completely empty at rollover time, but if the file contains a few bytes from an earlier "short" log message, it might seem just as wasteful of a backup slot as if it had zero bytes. I think the understanding is that maxBytes should be large compared to the size of an average log message, and that if that isn't the case, the user will live with the consequences because it's a contrived scenario (for tests, etc.) rather than a real-life one. There's always the option of subclassing if a user really does need bespoke rollover behaviour. |
|
Date |
User |
Action |
Args |
2017-01-25 19:00:51 | vinay.sajip | set | recipients:
+ vinay.sajip, Poddster |
2017-01-25 19:00:51 | vinay.sajip | set | messageid: <1485370851.02.0.631378523751.issue29372@psf.upfronthosting.co.za> |
2017-01-25 19:00:51 | vinay.sajip | link | issue29372 messages |
2017-01-25 19:00:50 | vinay.sajip | create | |
|