EntLib6: At times the Rolling Flat File Trace Listener won't consistenly roll to new log file


Have seen this happen a few times, where the rolling log file set to roll on a 'Day' basis doesn't roll and one log will contain entries across more than one day.

Don't know the cause or trigger of this. Sometimes it happens and sometimes it rolls.


randylevy wrote Jul 12, 2013 at 6:04 AM

RollInterval.Day will roll the file (at least) one day after the file was created. If you want the file to roll based on a calendar day then RollInterval.Midnight would be a better option.