Skip to content
Snippets Groups Projects
Commit dca805e6 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Use more readable variant for setting the max log file size.

Refers to #3
parent 46e628ea
Branches
Tags
No related merge requests found
......@@ -83,7 +83,7 @@ namespace ATxService
var logConfig = new LoggingConfiguration();
var fileTarget = new FileTarget {
FileName = ServiceName + ".log",
ArchiveAboveSize = 1000000,
ArchiveAboveSize = 1 * Conv.MegaBytes,
ArchiveFileName = ServiceName + ".{#}.log",
MaxArchiveFiles = 9,
KeepFileOpen = true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment