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

Re-set logfile name to match executable name.

Refers to #2, #3
parent d1e733ee
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ namespace ATxTray
var logConfig = new LoggingConfiguration();
var fileTarget = new FileTarget {
FileName = AppTitle + ".log",
FileName = Path.GetFileNameWithoutExtension(Application.ExecutablePath) + ".log",
Layout = @"${date:format=yyyy-MM-dd HH\:mm\:ss} [${level}] ${message}"
// Layout = @"${date:format=yyyy-MM-dd HH\:mm\:ss} [${level}] (${logger}) ${message}"
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment