Re: tagging log messages

2012-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johan, On 11/21/12 11:48 AM, Johan Gunnarsson wrote: Is there some way to tag log messages in log4j.properties depending on different criteria? If you are definitely going to be using log4j, try reading about Nested Diagnostic Contexts. - -chris

Re: tagging log messages

2012-11-22 Thread Konstantin Kolinko
2012/11/21 Johan Gunnarsson johan.gunnars...@init.se: Is there some way to tag log messages in log4j.properties depending on different criteria? Today I am splitting up the files like this: log4j.category.foo.bar=WARN, ALOG, CATCHALL

tagging log messages

2012-11-21 Thread Johan Gunnarsson
Is there some way to tag log messages in log4j.properties depending on different criteria? Today I am splitting up the files like this: log4j.category.foo.bar=WARN, ALOG, CATCHALL log4j.category.foo.bar.mvc.dao.core.EscenicFieldsImpl=ERROR, ALOG, CATCHALL