问题
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