log4net help

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello
I am using log4net for logging for my application


<appender name="ErrorMessage_FileAppender" type="log4net.Appender.FileAppender
<file value="Errorlog.txt" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout
<conversionPattern value="%date - %message%newline" />
</layout>
</appender>


File Name of my application is ErrorLog.txt BUT I WANT TO CREATE file name like "CurrentDataTime-ErrorLog.txt" forexample

29-11-2011-ErrorLog.txt

<br/>

View the full article
 
Back
Top