Hi,
I'm using a wrapper class for log4j (version 1.2.8).
The problem I have is that the log message contains the wrapper class as the
originator and not the real class.
I know that I can use the log(String callerFQCN,Priority priority,Object
message,Throwable t) method (and pass my wrapper class as the 
fqcn), but I need to use the l7dlog functions (I use a resource bundle for
my log messages) and I can pass a fqcn to those methods.
Is there a way to use the localized log messages with the wrapper fqcn?
The only way that I find is to subclass the Category/Logger class and
override the forceLog method to use the wrapper class as the fqcn
and not the FQCN constant that the Category class is using.

Thanks in advance,
Alon

Reply via email to