from org.apache.log4j import Logger as Logger from org.apache.log4j import Level as Level rootLogger = Logger.getRootLogger() rootLogger.setLevel(Level.ERROR)
Note: The above code is in Jython. Something very similar will work in Java.
from org.apache.log4j import Logger as Logger from org.apache.log4j import Level as Level rootLogger = Logger.getRootLogger() rootLogger.setLevel(Level.ERROR)
1 comment:
This is nice blog danjo, keep the good posts coming frequently :)
Post a Comment