Skip to content

An empty (0b) archive log files are being created #7

@vash6p

Description

@vash6p

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. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions