How do you configure log4j.properties to tell it to use 2 different loggers for log messages coming from 2 different class files.Following is the configuration I have :
But It does not seem to work. Logs are going to both the files from both the classes.
Posted by Td at October 8, 2009 11:44:25 CEST
I want to know , can we have separate log files for info , debug ,warn etc ? I mean I want to have files such as warn.log where only warn statements get logged OR info.log where only info statements get logged. Please tel me the necessary configuration to achieve the same.
Thanks in advance.
Posted by Eswar at May 14, 2012 12:08:12 CEST
Hi,
What is the maximum value can given to MaxBackupIndex