I am making a small change to an existing application so that users can email us the log file when things go wrong. Even though it is c# the app is using Microsoft.VisualBasic.Logging.FileLogTraceListener.
This gets setup like this:
FileLogTraceListener fileLogTraceListener = listener as FileLogTraceListener;
fileLogTraceListener.Location = LogFileLocation.TempDirectory;
My question is: Where do the log files go?
Is it the same place as Path.GetTempPath() ?
I have seen a bunch of other posts asking similar questions but I need to be sure that whatever computer / operating system this app runs on it is able to pick up the logs. I take it there is no way to look inside the FileLogTraceListener class to see what it does when working with temp?
It is the same place as Path.getTempPath(). Reflector showed me this:
+1 to Nate Bross – reflector helped to find the answer