tomcat 禁用access.log

修改 server.xml 注释掉,如:

<!-- Access log processes all example.

  Documentation at: /docs/config/valve.html

  Note: The pattern used is equivalent to using pattern="common"

  <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"

               prefix="localhost_access_log." suffix=".txt"

               pattern="%h %l %u %t &quot;%r&quot; %s %b" /> -->

 

posted @ 2017-05-03 14:09  Earic  阅读(337)  评论(0编辑  收藏  举报