natefinch / lumberjack

lumberjack is a log rolling package for Go
MIT License
4.81k stars 593 forks source link

Allow timestamps to be added after the original extension instead of before #190

Open h0cheung opened 1 year ago

h0cheung commented 1 year ago

The rotated files are now named NAME-TIMESTAMP.log. Using glob to exclude them precisely is a pain. It would be much easier if we could set the filename to something like NAME.log.TIMESTAMP.