users@glassfish.java.net

Re: log4j - how to change the location of the log file?

From: <glassfish_at_javadesktop.org>
Date: Tue, 15 Sep 2009 02:46:52 PDT

use something like:

log4j.appender.logfile.File=../logs/MyApplication.log

or

<param name="File" value="../logs/MyApplication.log" />

if using the xml format for the log4j properties
[Message sent by forum member 'ggierer' (gerald.gierer_at_gieman.com)]

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