title: Trying to get request parameter out to access log in tomcat
body: <p>I trying to investigate how often a particular HTTP request is getting send to a web site. The request is a POST and has a parameter named <code>"_method"</code>.  I can see this in firebug getting net over.</p>
  
  <p>I need to check the value of this <code>"_method"</code> parameter, so following the documentation <a href="http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Access_Log_Valve" rel="nofollow">http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Access_Log_Valve</a> I add the following to the tomcat access configuration for the valve</p>
  
  <pre><code>%{_method}r
  </code></pre>
  
  <p>But it is not coming out in access logs. </p>
  
  <p>I wonder is that because of the underscore?</p>
  
  <p>Note, the parameter name cannot be changed. </p>