sample log4j.properties file
2 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Tuesday, October 28, 2003 05:44 AM

Hello. I'm trying to write my first logger file. I'm told I need a log4j.properties file to tell how/where to create the log file.

Is there a sample log4j.properties file on the web that I can look at?

Thanks for your help!


Re: sample log4j.properties file

Posted By:   Eric_Rehnke  
Posted On:   Sunday, December 7, 2003 10:50 AM

Wow...I want to apologize for some of the obnoxious answers you received from this thread you started. Folks shouldn't even bothering answering unless they can be helpful.

Anyway, in answer to your query, you can find an example of log4j.properties at:


ALSO take a look at:


for an example of how to use an xml formatted file that can do the same thing.

I hope that helps.


p.s. I'm also just starting to use log4j and think it is really cool!

Re: sample log4j.properties file

Posted By:   The_Dude  
Posted On:   Tuesday, October 28, 2003 06:41 AM

Plenty of examples are included in the distro.
About | Sitemap | Contact