logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject RE: Is it really Ok to use fully-qualified class name as category name ?
Date Thu, 03 Jan 2002 12:39:13 GMT
> I'm thinking about using fully-qualified class name as 
> category name for
> logger, as recommended in the manual. I just wonder if we 
> have a lot of
> classes in our application. Is it possible that I may end up 
> wasted a lot of instances of Logger for each class ? And finally 
> we may only use several appenders for the whole category hierachy.

You may indeed end up with wasted instances this way - but whether or not that matters depends
entirely on your application. 1000 objects more or less is unlikely to affect the performance
of your application unless it is very tightly constrained.


To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>

View raw message