Log file location changes after using openFileDialog
Brought to you by:
jvarszegi
If I create a log at application start with
Logger _logger = Logger.CreateFileLogger( "Debug.log" )
Debug.log gets created in the application directory.
But after a call to an OpenFileDialog box
openFileDialog1.ShowDialog();
any messages I log to _logger will show up in a new log
with the same name as the original if I happen to
navigate to different directory in openFileDialog1.