Hi there
The servers at my work require us to specify a prefix for all loggers ..
including the libraries that are being used .. so if my package is
org.abc.someproject.pkg1 then logging for a class inside pkg1 usually is
something like
org.abc.someproject.pkg1.classX DEBUG "test log"
org.abc.someproject.pkg1.classY INFO "test log"

I want to change the prefix .. for all these loggers .. so it should instead
show up something like

work.logger.something.org.abc.someproject.pkg1.classX DEBUG "test log"

if possible, I wanna do the same thing for included jars like spring and
hibernate . 
so their loggers are usually

org.springframework.*
org.hibernate.*

instead again prefix with my predefined logger name
work.logger.something.org.springframework
work.logger.something.org.hibernate

Any help would be appreciated
-- 
View this message in context: 
http://old.nabble.com/changing-prefix-of-loggers-tp29525560p29525560.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to