Ever since we first released Enterprise Library, a lot of people have wanted to be able to log information to “rolling” flat files – that is, text files which automatically roll over to new files based on criteria such as date or maximum file size. In v1, a couple of people in the community helped to fill this gap with their own extensions. In v2, we had planned on including a rolling flat file Trace Listener in the Logging Application Block, but unfortunately we ran out of time.
The good news is that now there are not one, but three (that I know of) community-built rolling flat file Trace Listeners whose authors have been kind enough to share with the world. To find out more and download these extensions, check out these links:
- Hisham Baz’s Rolling File Trace Listener
- Robert Jaakke’s Vision Web Enterprise Library Logging : RollingFlatFileTraceListener
- Erwyn van der Meer’s Rolling File Trace Listener Extension for Enterprise Library 2.0
I’m not going to play favorites (and to be honest, I haven’t been able to look at them all with the amount of attention they deserve), but if anyone has any unbiased reviews on their experiences with any of these, the feature differences or pros/cons of each, feel free to add a comment. But thanks to all of these guys for their great contributions – keep them coming!