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]
Don't get me started about those stupid
subject: log4j: configuring category limits within same classpath?
Cannot seem to set JK2 LogLevel in Integrated Tomcat
How to filter out application specific log from server.log
Unable stop JBOSS running in DEBUG mode
log4j: DEBUG for one package only...
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-2013