In your log4j.properties file add the following line:

log4j.logger.freemarker.beans=WARN, CA



This assigns the level of WARNING to the freemarker.beans package only.  All
other packages will inherit the root logger level (usually set to DEBUG). 
You can set other packages as well, like:

log4j.logger.freemarker.cache=INFO, CA
log4j.logger.com.foo.bar=ERROR, CA

You do not need to change any java code.
Hope this helps.

-- 
View this message in context: 
http://old.nabble.com/Turning-freemarker-logging-off-tp21287074p29472948.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to