title: Spring Debug Logging in separate log file
body: <p>Currently logging is performed with the below configuration in the standalone.xml. All the logs are now saved in server.log. I want to save the spring debug logs in separate file for debugging purpose.</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;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>Please help.</p>