On Wed, 2 Apr 2003, Dan Allen wrote:

> Date: Wed, 2 Apr 2003 16:04:54 -0600
> From: Dan Allen <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts-User List <[EMAIL PROTECTED]>
> Subject: [OT] log4j file path issue
>
> I am working with a jsp developer who uses windows, where I use
> linux.  When he checks out a copy of the application in the revision
> system, the log4j.properties file is not playing fair.  I have in it
>
> log4j.appender.default.File=/var/tomcat4/logs/struts.log
>
> But his path to tomcat is not the same.  If I try to do
>
> log4j.appender.default.File=struts.log
>
> then in linux it tries to make the file in / and doesn't understand
> relative paths. (Note: I am initializing log4j.properties in a init
> servlet like suggested in the manual).
>
> How do I specify that I want the log file in the "logs" directory of
> the tomcat installation.  Even if I have to set something in the
> init servlet, I will do that, but HOW HOW HOW???  argh...apart from
> having 2 log4j.properties files.
>

Sounds like a good question for the Log4J user list :-).

> Dan
>

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to