how to create a new log file when we have a new day?

Jun 20, 2008 at 4:11 AM

Hi all,
    I'm Thai and new in Patterns & Practices.
In Loggin Application Block by default is set trace.log.
So if there anyway to create a log file lik traceYYYYMMDD.log?
where YYYY is year, MM is month, DD is date. when the application or web application start.

   Can you suggest me please?

siamkom

Jun 20, 2008 at 3:56 PM
Hi,

You can use the Rolling Flat File Trace Listener for this.

Fernando


siamkom wrote:

Hi all,
    I'm Thai and new in Patterns & Practices.
In Loggin Application Block by default is set trace.log.
So if there anyway to create a log file lik traceYYYYMMDD.log?
where YYYY is year, MM is month, DD is date. when the application or web application start.

   Can you suggest me please?

siamkom