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 JUnit in Action, Second Edition Spring Batch in Action Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
