Using the PatternLayout and ConversionPattern, is there any way to 
automatically print out the name of the logger that was used to log a message?  
I know I can get the name of the class which will coincide with the logger name 
if I do:

Logger theLogger = getLogger( TheClassName.class );

But I'm not doing that, I'm doing:

Logger theLogger = getLogger( "HardCodedString" );

and I want "HardCodedString" to appear each time theLogger logs a message.

Thanks!

Q.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to