users@glassfish.java.net

Re: RE: Log4J

From: <glassfish_at_javadesktop.org>
Date: Fri, 07 Aug 2009 13:39:58 PDT

1) I put the properties file under WEB-INF/classes

2) I defined:
log4j.appender.TOFILE.File=ais.log

So where is the location of the log file ais.log?

I don't understand - start the Log4j engine By hand, with
BasicConfigurator.configure(), in this method log4j read properties and
configure the streams.

Thanks a lot.
[Message sent by forum member 'henryliu' (henryliu)]

http://forums.java.net/jive/thread.jspa?messageID=359505