Skip to content

Archive directory path is ignored #13

Closed
@blazsvigelj

Description

@blazsvigelj

When calling ArchiveHooks with retainedFileCountLimit the target directory is ignored.

Fore example:
new ArchiveHooks(3, CompressionLevel.Fastest, "/archive");
will never move compressed files in /archive folder.

Possible solution:

should be this.targetDirectory = targetDirectory;

Activity

added a commit that references this issue on Nov 22, 2022

fix: #13 use provided archive path

fe18c08
added a commit that references this issue on Nov 22, 2022

fix: #13 use provided archive path

3a54ac0
cocowalla

cocowalla commented on Nov 22, 2022

@cocowalla
Owner

@blazsvigelj thanks for finding this, it's now been fixed and a new version pushed: https://www.nuget.org/packages/Serilog.Sinks.File.Archive/1.0.3

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Archive directory path is ignored · Issue #13 · cocowalla/serilog-sinks-file-archive