Open sgryphon opened 6 years ago
In the App.config file, I have specified the log file to be written to the "Logs" folder under where the executable is running from. This is what is in the App.config file. "initializeData=".\Logs{ApplicationName}_{DateTime:yyyy-MM-dd}.log"
It looks like the log file is outputted to "C:\Windows\system32\Logs\" folder. Is this a known issue?
C:\Windows\system32\Logs\
Could you please add in RollingTextWriter => private string GetCurrentFilePath(TraceEventCache eventCache)
Add an option to set the base directory, as the current options don’t work on a service unless you hard code the path, that does not work well when the installer has the ability to change the installation path.