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
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
:
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
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
-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
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
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
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
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
: 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
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
11 matches
Mail list logo