Hi,
I'm using Jboss 7.1.1 and i have the following logging configuration:
<size-rotating-file-handler name="ACEII"> <level name="DEBUG"/> <formatter> <pattern-formatter pattern="%z{utc}%d{dd/MM/yyyy HH:mm:ss,SSS} %-5p [%c] %s%E%n"/> </formatter> <file path="c:\tmp\ACEII.log"/> <rotate-size value="10M"/> <max-backup-index value="10"/> <append value="true"/> </size-rotating-file-handler>
This is writing ,as expected, to the tmp folder. The question is how do i define a non absolute path?
I tried using environemtn variables but with no success:
<file path="%MY_VAR%\ACEII.log"/>
i also tried it with the 'relative-to' property:
<file relative-to="%MY_VAR%" path="ACEII.log"/>
but again, with no success