아파치 로그 형식

Jmnote (토론 | 기여)님의 2020년 4월 1일 (수) 15:12 판 (→‎개요)

1 개요

Apache Log Format
아파치 로그 형식
예시
127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326
10.185.248.71 - - [09/Jan/2015:19:12:06 +0000] 808840 "GET /inventoryService/inventory/purchaseItem?userId=20253471&itemId=23434300 HTTP/1.1" 500 17 "-" "Apache-HttpClient/4.2.6 (java 1.5)"
형식
%hostname %logname %user %time "%request" %status %bytes
설정
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log common

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}