Advertisement
Guest User

Turn off Debug Logging in Quartz .Net

a guest
Feb 4th, 2012
1,097
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. <configSections>
  2. <sectionGroup name="common">
  3. <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
  4. </sectionGroup>
  5. </configSections>
  6.  
  7. <common>
  8. <logging>
  9. <factoryAdapter type="Common.Logging.Simple.**youradapterhere**, Common.Logging">
  10. <arg key="level" value="ERROR" />
  11. </factoryAdapter>
  12. </logging>
  13. </common>
  14.  
  15. <sectionGroup name="common">
  16. <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging"/>
  17. </sectionGroup>
  18. <common>
  19. <logging>
  20. <factoryAdapter type="Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, Common.Logging.Log4Net">
  21. <arg key="configType" value="INLINE"/>
  22. <arg key="configFile" value="filename"/>
  23. <arg key="level" value="ERROR" /> <!-- add this line here -->
  24. </factoryAdapter>
  25. </logging>
  26. </common>
  27.  
  28. <log4net>
  29. <root>
  30. <level value="DEBUG" /> <!-- This is the value that needed changing -->
  31. <appender-ref ref="Console" />
  32. <appender-ref ref="RollingFile" />
  33. </root>
  34. </log4net>
  35.  
  36. <root>
  37. <level value="ALL" />
  38. <appender-ref ... />
  39. ...
  40. </root>
  41.  
  42. <logger name="Quartz">
  43. <level value="ERROR" />
  44. </logger>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement