You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
case "BASEDIR":
value = Path.GetDirectoryName(Assembly.GetCallingAssembly().Location);
break;
The text was updated successfully, but these errors were encountered:
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?
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.
The text was updated successfully, but these errors were encountered: