Environment variables in the filename of a tracelistener

Oct 9, 2007 at 9:41 AM
Hi, how can I use enviroment variable in enterprise library logging application block?
I'm trying this, but It doesn´t work
<listeners>
<add fileName="%userprofile\trace.log"


Thanks
Oct 9, 2007 at 12:29 PM
Hi,

There is no out of the box support for this. You can take a look at the code samples attached for this work item http://www.codeplex.com/entlib/WorkItem/View.aspx?WorkItemId=8823.

Regards,
Fernando