my dog learned polymorphism
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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
jQuery in Action, 3rd edition