Re: Log4J : Output information from different classes into different log files
Monday, March 6, 2006 02:18 PM
If you don't want to extend log-4j classes. Then it's a very simple way just configure so many loggers and so many appenders in your xml file.
Say you have two classes A and B
logger name ="A"
logger name ="B"
But as you will grow in files you need to configure as many as loggers and appenders.
Hope you understands what is the best for you .