title: JBoss dumping access logs in ~/logs
body: <p>I have a weird problem where for a single application, JBoss (EAP 6.0.0) seems to be dumping access logs in my home dir at <code>~/logs</code>. This is annoying to say the least.</p>
  
  <p>My web application's <code>jboss-web.xml</code> file seems normal:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN"
      "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd"&gt;
  
  &lt;jboss-web&gt;
      &lt;context-root&gt;/moore&lt;/context-root&gt;
  
      &lt;!-- http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html#Access_Log_Valve  --&gt;
      &lt;valve&gt;
          &lt;class-name&gt;org.apache.catalina.valves.AccessLogValve&lt;/class-name&gt;
          &lt;param&gt;
              &lt;param-name&gt;prefix&lt;/param-name&gt;
              &lt;param-value&gt;access_log_moore_&lt;/param-value&gt;
          &lt;/param&gt;
          &lt;param&gt;
              &lt;param-name&gt;suffix&lt;/param-name&gt;
              &lt;param-value&gt;.log&lt;/param-value&gt;
          &lt;/param&gt;
          &lt;param&gt;
              &lt;param-name&gt;pattern&lt;/param-name&gt;
              &lt;param-value&gt;%h %A %l %u %t "%r" %s %b %T %I "%{Referer}i" "%{User-Agent}i"&lt;/param-value&gt;
          &lt;/param&gt;
          &lt;param&gt;
              &lt;param-name&gt;resolveHosts&lt;/param-name&gt;
              &lt;param-value&gt;false&lt;/param-value&gt;
          &lt;/param&gt;
          &lt;param&gt;
              &lt;param-name&gt;fileDateFormat&lt;/param-name&gt;
              &lt;param-value&gt;yyyy-MM-dd-HH&lt;/param-value&gt;
          &lt;/param&gt;
      &lt;/valve&gt;
  
  &lt;/jboss-web&gt;
  </code></pre>
  
  <p>I can't seem to find anywhere that's telling it to dump logs in <code>~/logs</code> and all other web applications log fine to the JBoss log directory. How can I debug where the misconfiguration is and get these logs back to the JBoss log directory?</p>