-
Apache Tomcat Logging 경로와 Logging 항목 변경Windows/Windows 2008 , 2012 2019. 4. 19. 20:56
OS : Windows 2012 R2
- 로그파일 용량관리를 별도의 디렉토리로 분리와 일 단위 로그파일 생성
- 분석 항목 추가
< 변경전 - 기본세팅 >
< 변경후 - 기본세팅 >
< 변경후 - 일 단위 로그파일 관리 >
< 로그 항목 패턴 >
%a Remote IP address
%A Local IP address%b Bytes sent, excluding HTTP headers, or '-' if zero
%B Bytes sent, excluding HTTP headers
%h Remote host name (or IP address if enableLookups for the connector is false)
%H Request protocol
%I Remote logical username from identd (always returns '-')
%m Request method (GET, POST, etc.)
%p Local port on which this request was received. See also %{xxx}p below.
%q Query string (prepended with a '?' if it exists)
%r First line of the request (method and request URI)
%s HTTP status code of the response
%S User session ID
%t Date and time, in Common Log Format
%u Remote user that was authenticated (if any), else '-'
%U Requested URL path
%v Local server name
%D "Time taken to process the request in millis. Note: In httpd %D is microseconds.
Behaviour will be aligned to httpd in Tomcat 10 onwards%T "Time taken to process the request, in seconds. Note: This value has millisecond resolution whereas
in httpd it has second resolution.
Behaviour will be align to httpd in Tomcat 10 onwards%F Time taken to commit the response, in millis
%I Current request thread name (can compare later with stacktraces)
%X "Connection status when response is completed:
X = Connection aborted before the response completed.
+ = Connection may be kept alive after the response is sent
- = Connection will be closed after the response is sent'Windows > Windows 2008 , 2012' 카테고리의 다른 글
Windows 2008 / 2012 Server NTP Clinet Setting (0) 2019.10.02 python, grafana, mariadb를 이용한 윈도우 서버 성능 분석 (0) 2019.08.17 python을 이용한 IIS web log 분석 (7) - pandas 연동 (0) 2019.08.12 IIS 웹 사이트 개별 시작/중지/응용프로그램 풀 재생 명령어 (0) 2019.06.26 Windows 2012 Tomcat 8 Install (0) 2019.04.19 Windows Server 2008/2012 Loop Back Adapter Configuration (0) 2019.04.03 [Windows 2012] IIS FTP TLS 통신 (0) 2018.08.07 윈도우 서버 IIS-FTP 요청필터링 기능을 이용한 명령어 제한 (0) 2018.07.10