EntLib June 2005 Exception Logging

  • Thread starter Thread starter tintin
  • Start date Start date
T

tintin

By using the EntLib config tool, we have to set the filepath at design time.


I'm looking for a way to set path of the log file at a variable path because
when i package and deploy my desktop application the trace.log file should
be in the application path.

How can i set a filename as the current date (something like 030305.log). So
a log file created for a particular day can be identified by the date.
 
I have not actually tried this, but could you not just have you application
programtically change the location of the log file in the
loggingconfiguration.config XML file?
 
Back
Top