Tomcat (1) 썸네일형 리스트형 [SpringBoot] tomcat access log 출력 SpringBoot의 web module에 있는 내장 톰캣은 기본적으로 access log를 출력하지 않는다. 다양한 방법으로 access log 혹은 그와 유사한 로그를 남길 수 있지만 전통적인 설치형 tomcat에서 access log를 남기는 것과 동일한 log 출력 방법을 설정해본다. application.yml 설정 server: tomcat: accesslog: enabled: true directory: logs suffix: .log prefix: access_log file-date-format: .yyyy-MM-dd pattern: %{yyyy-MM-dd HH:mm:ss}t %s %r %{User-Agent}i %{Referer}i %a %b %D max-days: 14 basedir:.. 이전 1 다음