A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other Open Source Projects
log4j: configuring category limits within same classpath?
Joined: Jan 16, 2009
Jun 14, 2011 16:00:17
I was expecting to find readily available examples of this, but what I'd like to do is have a sub location of a package set to one log level while setting the rest to another... e.g.,
<!-- ================ --> <!-- Limit categories --> <!-- ================ --> <category name="com.foobar.meat.potatoes" additivity="false"> <priority value="DEBUG"/> </category> <category name="com.foobar"> <priority value="ERROR"/> </category>
but it would appear that he 2nd rule trumps the first. Is there syntax that will allow me to apply this properly?
[SCBCD in process]
I agree. Here's the link:
subject: log4j: configuring category limits within same classpath?
Unable stop JBOSS running in DEBUG mode
Cannot seem to set JK2 LogLevel in Integrated Tomcat
log4j: DEBUG for one package only...
How to filter out application specific log from server.log
How to show hibernate sql parameter values, instead of ?,?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014