logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wyss Patrick" <Patrick.W...@mobilesolutions.ch>
Subject AW: Logging Strategy: Using multiple Loggers in same Class file
Date Thu, 07 Jun 2007 15:46:54 GMT
> > 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
Mime
View raw message