Minor style changes
[castle.git] / MonoRail / TestSiteNVelocity / log4net.config
blobf38980a6b707fcc28110802869cc7bba81958982
1 <?xml version="1.0" encoding="utf-8" ?>\r
2 <configuration>\r
3 \r
4         <log4net>\r
5 \r
6                 <appender name="rollingFile" type="log4net.Appender.RollingFileAppender,log4net" >\r
7                         \r
8                         <param name="File" value="mr_log.txt" />\r
9                         <param name="AppendToFile" value="true" />\r
10                         <param name="RollingStyle" value="Size" />\r
11                         <param name="MaximumFileSize" value="5mb" />\r
12                         <!-- RollingStyle: Date (do not support rollbackups)\r
13                         <param name="DatePattern" value="yyyy.MM.dd.HH.mm" />\r
14                         -->\r
15                         <param name="MaxSizeRollBackups" value="50" />\r
16                         <param name="StaticLogFileName" value="true" />\r
18                         <layout type="log4net.Layout.PatternLayout,log4net">\r
19                                 <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] &lt;%X{auth}&gt; - %m%n" />\r
20                         </layout>                       \r
21                 </appender>\r
23                 <root>\r
24                         <priority value="ERROR" />\r
25                         <appender-ref ref="rollingFile" />\r
26                 </root>\r
28                 <logger name="Castle.MonoRail">\r
29                         <level value="ALL" />\r
30                 </logger>\r
32         </log4net>\r
34 </configuration>