fork download
  1. <configuration>
  2.  
  3. <configSections>
  4. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,
  5. log4net" />
  6. </configSections>
  7. <log4net>
  8. <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
  9. <param name="File" value="LOGS\log.txt"/>
  10. <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
  11. <appendToFile value="true" />
  12. <rollingStyle value="Size" />
  13. <maxSizeRollBackups value="2" />
  14. <maximumFileSize value="10MB" />
  15. <staticLogFileName value="true" />
  16. <layout type="log4net.Layout.PatternLayout">
  17. <param name="ConversionPattern" value="%d [%t] %-5p %c %m%n"/>
  18. </layout>
  19. </appender>
  20. <root>
  21. <level value="ALL" />
  22. <appender-ref ref="LogFileAppender" />
  23. </root>
  24. <logger name="test">
  25. <level value="DEBUG"></level>
  26. </logger>
  27. </log4net>
  28.  
  29. </configuration>
  30.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty