How To Create Different Log Files Dynamically.

Topics: Logging Application Block
May 15, 2010 at 8:27 AM

Hi All,

I am using Enterprise Library 4.1 in my application for Logging. What I want to do is that, whenever I call a function (in which Logging is implemented), it will create a new LOG File and store the LOGGING information to it. 

May 17, 2010 at 2:00 AM

There's no out-of-the-box trace listener in entlib that supports this.  You would need to create your own custom trace listener for this.  For a reference on creating a custom trace listener, here's the link -


Sarah Urmeneta
Global Technology and Solutions
Avanade, Inc.