You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "Gunter, Geary" <Ge...@gs.com> on 2002/02/14 17:58:11 UTC

Log4j.properties file

Hi, I'm new to log4j so I need some help. I put the following code into a
log4j.properties file because I want to add a new appender that I created.

log4j.rootLogger=debug, joa
log4j.appender.joa=users.jakarta.projects.JOptionPaneAppender
log4j.appender.joa.layout=org.apache.log4j.PatternLayout

If I put this file in the class path will log4j automatically see this file
and add the appender to all logging events?

Thanks,
Geary

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>