|
@@ -0,0 +1,25 @@
|
|
|
+<log4net>
|
|
|
+ <root>
|
|
|
+ <level value="WARN" />
|
|
|
+ <appender-ref ref="LogFileAppender" />
|
|
|
+ </root>
|
|
|
+ <logger name="Logging">
|
|
|
+ <level value="DEBUG" />
|
|
|
+ </logger>
|
|
|
+ <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
|
|
|
+ <file value="Log/" />
|
|
|
+ <appendToFile value="true" />
|
|
|
+ <rollingStyle value="Date" />
|
|
|
+ <datePattern value="yyyy-MM-dd".log"" />
|
|
|
+ <maxSizeToRollBackups value="-1" />
|
|
|
+ <maximumFileSize value="10MB" />
|
|
|
+ <staticLogFileName value="false" />
|
|
|
+ <layout type="log4net.Layout.PatternLayout,log4net">
|
|
|
+ <!--<conversionPattern value="%d - %-5level - %c - %m%n" />-->
|
|
|
+ </layout>
|
|
|
+ <filter type="log4net.Filter.LevelRangeFilter">
|
|
|
+ <param name="LevelMin" value="DEBUG" />
|
|
|
+ <param name="LevelMax" value="ERROR" />
|
|
|
+ </filter>
|
|
|
+ </appender>
|
|
|
+</log4net>
|