EntLib 5 logging rollSizeKB and timeStampPattern

Topics: Logging Application Block
Jul 28, 2010 at 8:48 PM

I'm trying to configure rules for my Event.log file setting the rollsizekb and timestamppattern properties on it.

But now we're moving foward to EntLib5, and it's throwing exceptions to set those values

Does Enterprise Library 5 has removed these options from Logging?



Jul 29, 2010 at 9:46 AM


How are you setting these properties values?  You're using Rolling Flat File TraceListener right? Lastly, what are the exceptions being thrown?

Roll Size KB and Timestamp Pattern property are available in the Rolling Flat File TraceListener in EntLib 5, so I'm not sure where exactly have you seen these removed. Please let me know. Thanks.

Gino Terrado
Global Technology and Solutions
Avanade, Inc.



Aug 1, 2010 at 6:41 PM

Hi Gino,


No I was using the Flat File. That's the problem.

When I switch to Rolling Flat File, I was able to configure it for rolling flat file.

Thanks a lot.