diff options
Diffstat (limited to 'src/main.lib/Services/LogService.cs')
-rw-r--r-- | src/main.lib/Services/LogService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.lib/Services/LogService.cs b/src/main.lib/Services/LogService.cs index 4691cb0..84404f8 100644 --- a/src/main.lib/Services/LogService.cs +++ b/src/main.lib/Services/LogService.cs @@ -21,7 +21,7 @@ namespace PKISharp.WACS.Services public LogService() { // Custom configuration support - var installDir = new FileInfo(Process.GetCurrentProcess().MainModule.FileName).DirectoryName; + var installDir = new FileInfo(ExePath).DirectoryName; ConfigurationRoot = new ConfigurationBuilder() .AddJsonFile(Path.Combine(installDir, "serilog.json"), true, true) .Build(); |