override/change the name/prefix of log4j loggers
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.cla ssX DEBUG "test log"
if possible, I wanna do the same thing for included jars like spring and hibernate .
so their loggers are usually
instead again prefix with my predefined logger name
Any help would be appreciated