You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RollingFlatFileTraceListener is saving empty (0b) archive log files, while performing roll.
I've prepared an improvement/fix for this issue - an additional option to indicate whether to create an archive file even if it would be empty. The default value is "Always create", so the default behavior will not change. @Chavoshi I'd be great if I could commit it and present in PR.
The funny thing is, the code regarding this functionality in the original .NET version of this library seems identical, yet empty archive files are not created, which I believe I desired for this implementation. :)
The text was updated successfully, but these errors were encountered:
vash6p
changed the title
A 0b archive log file are being created
An empty (0b) archive log files are being created
Nov 19, 2021
The RollingFlatFileTraceListener is saving empty (0b) archive log files, while performing roll.
I've prepared an improvement/fix for this issue - an additional option to indicate whether to create an archive file even if it would be empty. The default value is "Always create", so the default behavior will not change.
@Chavoshi I'd be great if I could commit it and present in PR.
The funny thing is, the code regarding this functionality in the original .NET version of this library seems identical, yet empty archive files are not created, which I believe I desired for this implementation. :)
The text was updated successfully, but these errors were encountered: