-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".
- -c
2012/11/21 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, CATCHA
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
log4j.category.foo.bar.mvc.dao.content.