Re: R: Creating our own logger

2005-06-23 Thread Tan Kah Siong
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

R: Creating our own logger

2005-06-23 Thread Fabrizio Squittieri
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

Re: Creating our own logger

2005-06-23 Thread James Stauffer
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

RE: Creating our own logger

2005-06-23 Thread Lutz Michael
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

RE: Creating our own logger

2005-06-23 Thread Lutz Michael
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

Creating our own logger

2005-06-23 Thread Fabrizio Squittieri
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