wood burning stoves*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: log4j with filters using properties