lumberjack icon indicating copy to clipboard operation
lumberjack copied to clipboard

How to test/show lumberjack log rotation in action?

Open yash97 opened this issue 3 years ago • 1 comments

As from the configuration, log size is int MB so it will take time to write 1mb of logs and max age is also 1 day. So how do I add lumberjack in my codebase and test that it is successfully rotating logs or demo it to other folks that it works.

yash97 avatar Jan 24 '22 18:01 yash97

Write a meg of data, change your computer clock. (note: v3 will let you do fine-grained size and max age settings, to make that easier)

natefinch avatar May 13 '22 18:05 natefinch