Phus Lu
Phus Lu
Although we can use the following command line to call the external log plug-in, but seems that there is still a lack of a log directory mechanism for passing in...
Another issue is that "nerdctl compose" does not support logging.driver option currently. it complains ``` FATA[0000] validating /home/phuslu/test/compose.yaml: (root) Additional property logging is not allowed ``` on ```yaml version: '3.5'...
BTW, for those interested about reducing the memory footprint of the nerdctl logging plugin, I recommend give a try https://github.com/phuslu/nerdctl/tree/main/cmd/nerdctl-internal-logging I think it's mature and it successfully reduces the memory...
谢谢,尽快合并你的 patch
rolling interval is hard, we must face to potential goroutine leakage and race condition, maybe it's not a bug finally, it's a wrong design.
And user probably will not be satisfied just rolling by `every x seconds` , users usually want a `cron` syntax rotation. So, does we should support the `cron` ? seems...
If lumberjack has a ["Cleaner" or "OnRollover"](https://github.com/natefinch/lumberjack/issues/115#issuecomment-739327054) callback, it will be easy. I implemented on my own filewriter, https://github.com/phuslu/log/blob/master/file.go#L191-L212 Note: the `w.Cleaner` callback awares gz files and their size, so...
nice and congrats, i believe my file writer implementation is easy modified and simple enough to math with [v3 Work Thread](https://github.com/natefinch/lumberjack/issues/115) point 5
I think providing `MaxAge` is not a good design. usually we use a implicit and background goroutine to promise `MaxAge`(otherwise MaxAge is not a real MaxAge and will supervise people),...
If `TimeFormat` was added finally, the rotate logic should base on file `ture` modified time nor time field of filename. https://github.com/natefinch/lumberjack/blob/v2.0/lumberjack.go#L400 Because if user change time format in a new...