This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes log4j with filters using properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log4j with filters using properties" Watch "log4j with filters using properties" New topic
Author

log4j with filters using properties

Al Gettier
Greenhorn

Joined: Nov 16, 2005
Posts: 8
Hi everyone

I have a large application that uses log4j. For legacy reasons I must configure log4j with a properties file, not xml. I have seen many examples of setting up the SMTP Appender with multiple filters in xml, but none with a properties.

When I tried to guess at how it would be set up in a properties file I received errors.

Does anyone have any examples of setting up an appender with multiple filters using a properties file?

Thanks

Al
 
jQuery in Action, 2nd edition
 
subject: log4j with filters using properties