Disable quartz logging

耗尽温柔 提交于 2019-11-27 06:03:10

问题


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

log4j.logger.org.quartz=ALL, CONSOLE

回答1:


Possible duplicate with Disabling Log4J Output in Java.

Try this out:

  log4j.logger.org.quartz=OFF      



回答2:


Adding this to my log4j.xml file worked!

 <logger name="org.quartz" additivity="false">
     <level value="ERROR"/>
 </logger>


来源:https://stackoverflow.com/questions/14421353/disable-quartz-logging

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!