EDN Admin
Well-known member
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
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