Rolling Trace Listener FileName{Date} pattern

Topics: Logging Application Block
Sep 16, 2008 at 9:17 PM
Has anybody found the solution to change the behavior of the rolling trace listener to output to a filename including the date pattern?

I mean that instead of sending output to rolling.log and then renaming the file at rollover, send the output to rolling.2008-09-16.log. Something accepting a filename pattern like rolling{Date}.log.

Sep 17, 2008 at 4:43 PM
Hi Steve,

The rolling file trace listener available out of the box doesn't work like that; you'll need a new trace listener implementation.