logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve AGNOUX" <herve.agn...@diaam-informatique.com>
Subject RE: trace for inner classes
Date Tue, 06 Aug 2002 08:14:08 GMT
Le 5 Aug 2002 Thomas Muller a écrit :

> 
> What about doing 
> 
>  Logger.getLogger( getClass().getName().replace( '$', '.' ) )
> 
> for inner classes?
> 

Yes, but I think it's not very elegant. I think that when the logger is 
determinated by a class, the logger hierarchy must follow the class hierarchy.

Anyway, I shall do "replace('$', '.'), thank you for your help.


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


Mime
View raw message