Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
First write rotation won't clean up backups #12
Comments
natefinch
added
the
bug
label
May 20, 2015
natefinch
self-assigned this
May 20, 2015
|
Going to work on fixing this tonight. |
added a commit
that referenced
this issue
May 21, 2015
|
Fixed! Added a test for this issue as well. |
natefinch
closed this
May 21, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
natefinch commentedMay 20, 2015
If you start your application with multiple backups in your log folder, and your first write to lumberjack would cause the existing file to go over the max size, we just rename the existing file and create a new one, without going through cleanup of old backups.