users@glassfish.java.net

Re: RE: Log4J

From: Ronaldo Rigoni ... <rrigoni_at_gmail.com>
Date: Sat, 8 Aug 2009 13:10:43 -0300

See
http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/BasicConfigurator.html

Ronaldo.

2009/8/7 <glassfish_at_javadesktop.org>

> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
[]'s,
Ronaldo Rigoni
http://www.ronaldorigoni.com.br
Desenvolvedor JEE
Ministério da Educação -  CESPE