nviato: giovedì 23 giugno 2005 16.36
> A: Log4J Users List
> Oggetto: Re: Creating our own logger
>
> I had a similiar situation and I made our internal
> Logger class just pass the event to log4j. You can
> store userAddress and userName in MDC. Then weather
> the code uses the in
understand MDC but i lack in something may be...
-Messaggio originale-
Da: James Stauffer [mailto:[EMAIL PROTECTED]
Inviato: giovedì 23 giugno 2005 16.36
A: Log4J Users List
Oggetto: Re: Creating our own logger
I had a similiar situation and I made our internal Logger class just pass the
I had a similiar situation and I made our internal Logger class just
pass the event to log4j. You can store userAddress and userName in
MDC. Then weather the code uses the internal logger or log4j directly
it still ends up in the same place. The only thing is that code using
the internal logger
btw, what I meant by "what you're doing is very common" means ... it's
common to wrap Log4j.
Just don't use inheritance.
-Original Message-
From: Lutz Michael
Sent: Thursday, June 23, 2005 9:06 AM
To: Log4J Users List
Subject: RE: Creating our own logger
r
riginal Message-
From: Fabrizio Squittieri [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 3:34 AM
To: log4j-user@logging.apache.org
Subject: Creating our own logger
Hi there,
we have an old logger, an "homemade" one and now we want to switch our
logging to log4j.
We have to
Hi there,
we have an old logger, an "homemade" one and now we want to switch our
logging to log4j.
We have to cope with the old one for the future as all the model
software written until now can't be rewritten to suite the old log.
Moreover we want a more powerful Logger class, as we must hold info