SHARE
TWEET

Untitled

a guest Jan 12th, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <log4net>
  2.     <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
  3.       <target value="Console.Error"/>
  4.       <layout type="log4net.Layout.SimpleLayout"/>
  5.     </appender>
  6.     <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
  7.       <file type="log4net.Util.PatternString" value="LogsLog-%date{yyyy-MM-dd_HH-mm-ss}.log"/>
  8.       <param name="AppendToFile" value="true"/>
  9.       <maximumFileSize value="15000000KB"/>
  10.       <maxSizeRollBackups value="3"/>
  11.       <layout type="log4net.Layout.PatternLayout">
  12.         <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] - %m%n"/>
  13.       </layout>
  14.     </appender>
  15.     <root>
  16.       <level value="INFO"/>
  17.       <appender-ref ref="RollingFileAppender"/>
  18.       <appender-ref ref="ConsoleAppender"/>
  19.     </root>
  20.   </log4net>
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top