Everything works fine when I have a rolling file configured as so:
RollingFile name="RollingFileAppender" fileName="/applicationLogs/CTMSApplicationService-${hostName}.log" filePattern="/applicationLogs/CTMSApplicationService-${hostName}-%d{MM-dd-yyyy}-%i.log"
BUT as soon as I use the ${sys:jboss.server.log.dir} for the "root" of my log location the primary log gets created but nothing ever rolls. The log file just gets appended to:
RollingFile name="RollingFileAppender" fileName="${sys:jboss.server.log.dir}/CTMSApplicationService-${hostName}.log" filePattern="${sys:jboss.server.log.dir}/CTMSApplicationService-${hostName}-%d{MM-dd-yyyy}-%i.log">
The value of ${sys:jboss.server.log.dir}="E:\Wildfly-8.1.0.Final\standalone\log"
Is it because the fileName can handle the Winblows "E:\" and the filePattern can not?