logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From epic winter <epicwin...@hotmail.com>
Subject RE: file location - windows vista
Date Tue, 13 Nov 2007 19:06:36 GMT

Thanks you guys I got it.

> From: carnold@apache.org
> Subject: Re: file location - windows vista
> Date: Tue, 13 Nov 2007 11:47:11 -0600
> To: log4j-user@logging.apache.org
> 
> 
> 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
> 

_________________________________________________________________
Windows Live Hotmail and Microsoft Office Outlook – together at last.  Get it now.
http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message