add lumberjack log rotation#5696
Conversation
|
not targeting 0.28 as iirc this is quite a niche feature and requires TRACE to generate anything substantial edit: debug also does the job (came back to 10G logfile) |
b9aeda7 to
80c2d03
Compare
|
To generate a 1MB log file,
fill up the log
|
1MB while reasonable, can generate excessive rotates. 10M is large enough to draw attention but not small enough to be triggered frequently to the point of annoyance even on trace
|
This looks good, but I think it needs to be optional and turned off by default. Perhaps make the max log size value |
|
No longer rotates by default, you can test this with this lovingly crafted 1GB zip bomb |
Closes #5009
Related: #3692
Tested and working, still in draft for UI config of rotation size