Depends how many "individual loggers" you are concerned with.  If there are, say...., 3 named loggers, then just create 3 appenders; one for each logger.  However, if the number of logger names cannot be known at build time, then you will probably need a custom appender that you assign to some base logger name.  For each logger that sends info to the appender, the appender can evaluate whether to write it to an existing log file or create a new one.

Jake

On Mon, 18 Oct 2010 00:34:42 -0700 (PDT)
 "Mohan.Radhakrishnan" <moh...@fss.co.in> wrote:

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-names-and-the-same-appender-tp28024737p29988016.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




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

Reply via email to