Skip to content

Commit 3a54ac0

Browse files
authored
fix: #13 use provided archive path
2 parents d3a20bb + fe18c08 commit 3a54ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serilog.Sinks.File.Archive/ArchiveHooks.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public ArchiveHooks(int retainedFileCountLimit, CompressionLevel compressionLeve
4747

4848
this.compressionLevel = compressionLevel;
4949
this.retainedFileCountLimit = retainedFileCountLimit;
50-
this.targetDirectory = null;
50+
this.targetDirectory = targetDirectory;
5151
}
5252

5353
public override void OnFileDeleting(string path)

0 commit comments

Comments
 (0)