Wednesday, February 14, 2007

turning down the volume on logging messages

I had a overly chatty console log. Messages I was interested in would zip by before I could read them because of some job poller logging thousands of INFO statements.

To shut him up, I edited debug.properties (ofbiz/framework/base/config/debug.properties)
and replaced the ALL with WARN in the following lines:
# Set root logger priority and appender
log4j.rootLogger=WARN, stdout, file, css

# Special OFBiz log4j configuration - set all top levels to true and set root to ALL
log4j.logger.NoModule=WARN
log4j.logger.org.ofbiz=WARN


ahhhhh. peace and quiet.