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] <mailto:[email protected]> | 
> [email protected]  <mailto:[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 <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>

Reply via email to