logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vani Bandargal <vanims...@hotmail.com>
Subject Is there any way to output the log statemts from a particular method to a different log file other than what is configued for that package?
Date Thu, 16 Apr 2009 14:05:21 GMT

Is there any way to output the log statemts from a particular method to a
different log file other than what is configued for that package?

In other words a 2 log files for a package. First log file for some methods
and the second one is for other methods.

<p>

Ex:  package com.foo.p1

public class Tset{

private metgod 1{
//log should output in Log File1
}

private metgod2{
//log should output in Log File2
}


}

</p>
-- 
View this message in context: http://www.nabble.com/Is-there-any-way-to-output-the-log-statemts-from-a-particular-method-to-a-different-log-file-other-than-what-is-configued-for-that-package--tp23078688p23078688.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


Mime
View raw message