activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manish_goyal <manishkumar_go...@infosys.com>
Subject Can we define multiple Logger instance in a single class file?
Date Sun, 23 Nov 2008 13:26:59 GMT

Hi,

Could any one tell me how to create multiple Logger instance in a single
class?

Is this possible?

If it is possible then what will be the value for "?". Logger myLogger =
Logger.getLogger("?"); in java file.
and for referring the same Logger instance in log4j.properties file, how we
will be defining the Appender.

I don't want to use rootLogger .
 
Please respond me as soon as possible.

Thanks.

Regards,
Manish
-- 
View this message in context: http://www.nabble.com/Can-we-define-multiple-Logger-instance-in-a-single-class-file--tp20646150p20646150.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message