Disable quartz logging

前端 未结 2 1466
广开言路
广开言路 2020-12-10 05:37

How can I disable Quartz logging? Quartz is printing INFO statements on my console. I have tried to disable it with the following statement in log4j.properties file

相关标签:
2条回答
  • 2020-12-10 06:16

    Possible duplicate with Disabling Log4J Output in Java.

    Try this out:

      log4j.logger.org.quartz=OFF      
    
    0 讨论(0)
  • 2020-12-10 06:18

    Adding this to my log4j.xml file worked!

     <logger name="org.quartz" additivity="false">
         <level value="ERROR"/>
     </logger>
    
    0 讨论(0)
提交回复
热议问题