Hi,
I want my logfile to look something like this: 2009-02-13.log
but the problem is that I can't seem to find any way to add the .log extension.
I've tried a lot of things but nothing helps. This is what I have this far:
<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="Logs/Log4Net/.log"/>
<appendToFile value="true"/>
<rollingStyle value="Date"/>
<datePattern value="yyyy-MM-dd" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline"/>
</layout>
</appender>
Kind regards,
Sem