suppress logging in spring batch 3 -


i writing spring-batch application, based on example found. when run in eclipse, produces annoying info logs deep inside framework. i'd suppress that, system.out statements show - clarity.

i figured logging inherited commons-logging1.1.1.jar, that's in classpath, because when take out reference errors logger.

question1: framework used logging in sample application , how can change default info warn?

question2: adopting log4j override default behavior?

i've create 2 property files under /resources: commons-logging.properties, this: org.apache.commons.logging.log=org.apache.commons.logging.im‌​pl.simplelog, , simplelog.properties, this: org.apache.commons.logging.simplelog.defaultlog=warn worked. - –


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -