This is interesting. It now works with 2.5-SNAPSHOT...

Gary

On Sat, Oct 24, 2015 at 7:44 AM, Gary Gregory <[email protected]>
wrote:

> Yes, see my recent change to LoggerContextRule.
>
> 9
>
>
> -------- Original message --------
> From: Ralph Goers <[email protected]>
> Date: 10/23/2015 21:01 (GMT-08:00)
> To: Log4J Developers List <[email protected]>
> Subject: Re: sys prop in file names?
>
> Does that system property exist? If not then you will get the same
> string.  Windows is probably thinking the file name stops at the colon?
>
> Ralph
>
> On Oct 23, 2015, at 6:57 PM, Gary Gregory <[email protected]> wrote:
>
> Well, crud, this does not seem to work:
>
> <RollingRandomAccessFile name="RollingFile" append="false"
> fileName="/test/dv/logs/${sys:org.apache.logging.log4j.junit.LoggerContextRule#ClassName}-raf.log"
> ...
>
> Am I missing, I get an empty file called "${sys"
>
> Gary
>
> --
> E-Mail: [email protected] | [email protected]
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
>
>


-- 
E-Mail: [email protected] | [email protected]
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to