logging-log4j-user 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:25:51 GMT


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

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.


View this message in context: http://www.nabble.com/Can-we-define-multiple-Logger-instance-in-a-single-class-file--tp20646148p20646148.html
Sent from the Log4j - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message