logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BRUNO MELLONI <Bruno.Mell...@chickasaw.net>
Subject forcing [root] logging - to a separate appender
Date Tue, 03 Apr 2012 15:24:54 GMT
I support a server that uses log4j.  Of the many applications on it, a few dump their logs
as [root] log4j entries.

I would like to setup a category or even separate appender that allows me to control and/or
separate these bad log entries.  The problem is that I only want to affect things "just at
the root", not every single package in the server.

How would I write such a category or appender configuration?

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message