logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Han" <rich...@bitonic.com>
Subject Re: specify the file appender's directory
Date Tue, 04 Dec 2001 18:33:26 GMT
Thank you Jon,
It works after I did the following:
       Properties sysprops = System.getProperties();
        sysprops.setProperty("applicationRoot", configDir);

(configDir is where my applicationRoot points to)

Thanks!

----- Original Message -----
From: "Jon Skeet" <jon.skeet@peramon.com>
To: "Log4J Users List" <log4j-user@jakarta.apache.org>
Sent: Tuesday, December 04, 2001 10:56 AM
Subject: RE: specify the file appender's directory


> > Do you know how the following {applicationRoot} is set?
> >
> > log4j.appender.mycat.file = ${applicationRoot}/logs/messages.log
>
> Well, you haven't given any context for that... but log4j will look for
> "applicationRoot" as a key in the system properties.
>
> Jon
>
> --
> To unsubscribe, e-mail:
<mailto:log4j-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:log4j-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message