Incredible...Thanks for helping me out. I can now see the database1 log file contains log from method1 and database2 log file contains log from method2.
On a side note(not a big deal)both logs from method1 and method2 are outputted in root log too(along with what is specified) Is there any way to stop it outputting in root log. Thanks. -- 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--tp23078688p23082542.html Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org