Skip to content

RollingFileAppender: short date pattern collides with size backup names #335

Closed

Description

@Snotface

With staticLogFileName true, a date pattern that formats as a short number (.dd, .MM, .HH, .yyyy) names dated files like numbered backups: log.txt.10 is both the file for the 10th and backup 10, so rolling one can overwrite the other. Affects Composite rolling, and Date rolling with appendToFile false.

Split out of #334.

Activity

  1. added a commit that references this issue on Oct 11, 2026
    353443f
  2. FreeAndNil commented on Oct 11, 2026

    @FreeAndNil
    Contributor

    @Snotface can you please confirm whether your issue was fixed by #336?
    Do you need a preview on nuget.org?

  3. self-assigned this
    on Oct 11, 2026
  4. added this to the 3.5.1 milestone on Oct 11, 2026
  5. Snotface commented on Oct 12, 2026

    @Snotface
    ContributorAuthor

    Confirmed, #336 fixes it. No preview needed, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions