From 8de7fa2b7f23a6d61236dc26d70193badf47bafd Mon Sep 17 00:00:00 2001
From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch>
Date: Tue, 6 Feb 2018 11:03:29 +0100
Subject: [PATCH] Re-set logfile name to match executable name.

Refers to #2, #3
---
 ATxTray/AutoTxTray.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ATxTray/AutoTxTray.cs b/ATxTray/AutoTxTray.cs
index 3fb8c7f..4a32a1a 100644
--- a/ATxTray/AutoTxTray.cs
+++ b/ATxTray/AutoTxTray.cs
@@ -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}"
             };
-- 
GitLab