logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <sach.j...@wipro.com>
Subject RE: Logging Strategy: Using multiple Loggers in same Class file
Date Fri, 08 Jun 2007 05:18:26 GMT

Thanks.. Yeah, I was too thinking of putting at some central place. 

-----Original Message-----
From: Wyss Patrick [mailto:Patrick.Wyss@mobilesolutions.ch] 
Sent: Thursday, June 07, 2007 9:17 PM
To: Log4J Users List
Subject: AW: Logging Strategy: Using multiple Loggers in same Class file

> > 2 Logger.getLogger in my class files. It solves my purpose but just 
> > wondering if my approach is fine?
> 
> 
> It's perfect :-)
> 

i'd put either the String "JobStatus" or the whole logger somewhere
central like into a singleton (to make sure you can change the loggers
name easily) but this is rather a question of taste, i guess


The information contained in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and destroy all copies
of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email
and any attachments for the presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email.
 
www.wipro.com

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message