logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James A. N. Stauffer" <stauffer.ja...@gmail.com>
Subject Re: file location - windows vista
Date Tue, 13 Nov 2007 17:57:30 GMT
That was a typo on my part.  It should have been ${user.home
}/logfilename.log

On Nov 13, 2007 11:47 AM, Curt Arnold <carnold@apache.org> wrote:

>
> On Nov 13, 2007, at 9:55 AM, James A. N. Stauffer wrote:
>
> > With an XML config you can access system properties like ${user.home$
> > }/logfilename.log
> >
>
>
> I don't think the trailing $ is necessary and would expect that would
> actually break things, but I'm not sure.  System property
> substitution also works with the property configurator.  See the JDK
> documentation for System.getProperties() (http://java.sun.com/javase/
> 6/docs/api/java/lang/System.html#getProperties()) for a list of
> always available system properties.   Using ${java.io.tmpdir} would
> also be an option.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


-- 
James A. N. Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message