Re: [SCL-2] Re: Multiple log files, multiple logger names and the same appender

2010-10-18 Thread Mohan.Radhakrishnan
Jacob, What you are suggesting can be done using the XML itself ? I think this new appender is required due to the limitation in associating an individual logger with its own file. Thanks, Mohan -- View this message in context: http://old.nabble.com/Multiple-log-files%2C-multiple-logger

Re: [SCL-2] Re: Multiple log files, multiple logger names and the same appender

2010-10-18 Thread Jacob Kjome
using the XML itself ? I think this new appender is required due to the limitation in associating an individual logger with its own file. Thanks, Mohan -- View this message in context: http://old.nabble.com/Multiple-log-files%2C-multiple-logger-names-and-the-same-appender-tp28024737p29988016

Re: [SCL-2] Re: Multiple log files, multiple logger names and the same appender

2010-10-15 Thread Mohan.Radhakrishnan
: http://old.nabble.com/Multiple-log-files%2C-multiple-logger-names-and-the-same-appender-tp28024737p29971726.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr

Re: [SCL-2] Re: Multiple log files, multiple logger names and the same appender

2010-10-15 Thread Jacob Kjome
If you have a limited set of loggers you are concerned with, just create a separate appender for each file you want created. So, if you have 5 loggers you care about, just create 5 appenders; each with its own file. Then associate the appropriate appender with the appropriate logger. In that

RE: [SCL-2] Re: Multiple log files, multiple logger names and the same appender

2010-10-14 Thread Mohan.Radhakrishnan
-multiple-logger-names-and-the-same-appender-tp28024737p29960730.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

Re: [SCL-2] Re: Multiple log files, multiple logger names and the same appender

2010-10-14 Thread Jacob Kjome
I think for what you want (separate file/logger), you'll need to write a custom appender unless Bender Heri's suggestion suffices for you. Jake On 10/14/2010 3:30 AM, Mohan.Radhakrishnan wrote: Hope to revive this thread. Is there any way to use the feature I have described. 1. Use the

Re: [SCL-2] Re: Multiple log files, multiple logger names and the same appender

2010-10-14 Thread Mohan.Radhakrishnan
Ok. Will try. I think you mean that in order to associate a file name with each logger in the hierarchy instead of the appender I need to write a custom appender. Am I on the right track then ? -- View this message in context: http://old.nabble.com/Multiple-log-files%2C-multiple-logger-names

RE: [SCL-2] Re: Multiple log files, multiple logger names and the same appender

2010-04-15 Thread Mohan.Radhakrishnan
This does not seem to be possible unless I use code ? I understand the logger hierarchy. -- View this message in context: http://old.nabble.com/Multiple-log-files%2C-multiple-logger-names-and-the-same-appender-tp28024737p28251807.html Sent from the Log4j - Users mailing list archive

Re: Multiple log files, multiple logger names and the same appender

2010-04-08 Thread Mohan.Radhakrishnan
in log4j.xml Is there a way to parameterize the logger section and the log file so that one section can substitute for multiple sections ? The same appender is used for all sections. -- View this message in context: http://old.nabble.com/Multiple-log-files%2C-multiple-logger-names-and-the-same

RE: [SCL-2] Re: Multiple log files, multiple logger names and the same appender

2010-04-08 Thread Bender Heri
: Mohan.Radhakrishnan [mailto:moh...@fss.co.in] Sent: Thursday, April 08, 2010 9:55 AM To: log4j-user@logging.apache.org Subject: [SCL-2] Re: Multiple log files, multiple logger names and the same appender Hopefully more explanation can attract some ideas here. I am using XML configuration and a custom

Multiple log files, multiple logger names and the same appender

2010-03-25 Thread Mohan.Radhakrishnan
Hi, I have been able to channelize the log information by writing a custom appender and specifying the logger name as 'Test1' into a separate log file. How can I use multiple log files, multiple logger names and the same appender ? In short I would like to avoid