title: How to configure jboss 7 to write logs to different folder
body: <p>I'm using Jboss 7.1.1 and I have the following log definition:</p>
  
  <pre><code>&lt;subsystem xmlns="urn:jboss:domain:logging:1.1"&gt;
          &lt;console-handler name="CONSOLE"&gt;
              &lt;level name="INFO"/&gt;
              &lt;formatter&gt;
                  &lt;pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/&gt;
              &lt;/formatter&gt;
          &lt;/console-handler&gt;
          &lt;periodic-rotating-file-handler name="FILE"&gt;
              &lt;formatter&gt;
                  &lt;pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/&gt;
              &lt;/formatter&gt;
              &lt;file relative-to="jboss.server.log.dir" path="server.log"/&gt;
              &lt;suffix value=".yyyy-MM-dd"/&gt;
              &lt;append value="true"/&gt;
          &lt;/periodic-rotating-file-handler&gt;
          &lt;size-rotating-file-handler name="ACEII"&gt;
              &lt;level name="DEBUG"/&gt;
              &lt;formatter&gt;
                  &lt;pattern-formatter pattern="%z{utc}%d{dd/MM/yyyy HH:mm:ss,SSS} %-5p [%c] %s%E%n"/&gt;
              &lt;/formatter&gt;
              &lt;file relative-to="jboss.server.log.dir" path="ACEII.log"/&gt;
              &lt;rotate-size value="10M"/&gt;
              &lt;max-backup-index value="10"/&gt;
              &lt;append value="true"/&gt;
          &lt;/size-rotating-file-handler&gt;
          &lt;logger category="ace2" use-parent-handlers="false"&gt;
              &lt;level name="DEBUG"/&gt;
              &lt;handlers&gt;
                  &lt;handler name="ACEII"/&gt;
              &lt;/handlers&gt;
          &lt;/logger&gt;
          &lt;logger category="com.arjuna"&gt;
              &lt;level name="WARN"/&gt;
          &lt;/logger&gt;
          &lt;logger category="org.apache.tomcat.util.modeler"&gt;
              &lt;level name="WARN"/&gt;
          &lt;/logger&gt;
          &lt;logger category="sun.rmi"&gt;
              &lt;level name="WARN"/&gt;
          &lt;/logger&gt;
          &lt;logger category="jacorb"&gt;
              &lt;level name="WARN"/&gt;
          &lt;/logger&gt;
          &lt;logger category="jacorb.config"&gt;
              &lt;level name="ERROR"/&gt;
          &lt;/logger&gt;
          &lt;root-logger&gt;
              &lt;level name="INFO"/&gt;
              &lt;handlers&gt;
                  &lt;handler name="CONSOLE"/&gt;
                  &lt;handler name="FILE"/&gt;
              &lt;/handlers&gt;
          &lt;/root-logger&gt;
      &lt;/subsystem&gt;
  </code></pre>
  
  <p>I'd like the ACE log to be written to a different folder, so I tried putting different values in the relative-to attribute but nothing seems to work, any idea on how to do it?</p>