Hi All, I need to log specified particular type of messages to one log file and rest to another log file. For example say, if message contains "SNMP" or "CDP" and so on, need to log in to log1.log and rest of the messages need to log in to log2.log How to configure the log4j.properties to log custom levels? Is there any provision to create custom levels and to configure it?
I heard that we can do this with the use of Filters. Could anyone suggest me better solution for this. Thanks in Advance, Praveen
