name issue with rolling flat file trace listener

Jun 9, 2010 at 6:39 PM
Edited Jun 9, 2010 at 6:40 PM

In my enterprise library configuration i have set the roll interval as midnight and time stamp as yyyy-MM-dd hhmm. Its creating new log file in the midnight.The issue is the newly created log file is having the current date even if the contents are of yesterdays. For example log file started on 8 th june.Midnight 8th 12 pm a new file will be created with the name job.2010-06-09. This gives wrong information.The job file is having the log created on 8th and not 9th. How to specify the log file to prefix with yesterdays date Any help is realy appreciated