I wanted to associate the logger file with each Logger instead of the
Appender. I have a setFile/getFile in the Logger that I plan to call using
my custom Appender so that the log message is written to the file associated
with the Logger.

Reasons :

1. We have two many appender sections in the XML because there are too many
log files.
2. I want to use my custom logger/appender and another xml file - not
log4j.xml - to associate a logger with a file.

I am trying to parse and read the file name from my custom XML file and set
it in my custom logger that log4j's repository has.
-- 
View this message in context: 
http://old.nabble.com/Extending-Logger-tp30018462p30113301.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

Reply via email to