设置tomcat不要生成localhost_access_log文件
解决方法:
只需要将tomcat的/conf/server.xml里面的下列配置注释掉再重启tomcat就好了。
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />