File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log4j with filters using properties" Watch "log4j with filters using properties" New topic

log4j with filters using properties

Al Gettier

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?


I agree. Here's the link:
subject: log4j with filters using properties
It's not a secret anymore!