2011. 3. 25. 14:34
톰켓에 Access log를 생성하는 방법
- server.xml 설정 추가
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b %B" resolveHosts="false"/>
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b %B" resolveHosts="false"/>
/tomcat/logs/localhost_access_log.2011-03-24.txt