-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlogformats.conf
More file actions
10 lines (9 loc) · 864 Bytes
/
logformats.conf
File metadata and controls
10 lines (9 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
# Set default formats
ErrorLogFormat "apache_error: [%{u}t] [pid %P:tid %T] [%m:%l] %7F: %E: [client\ %a] %M% ,\ referer\ %{Referer}i"
LogFormat "apache: [%{%Y-%m-%d %H-%M-%S%z}t] [pid %{pid}P:tid %{tid}P] %h %l %u \"%r\" %>s %O \"%{Referer}i\" \"%{User-agent}i\""
# Nicknames
LogFormat "apache: [%{%Y-%m-%d %H-%M-%S%z}t] [pid %{pid}P:tid %{tid}P] %v:%p %h %l %u \"%r\" %>s %O \"%{Referer}i\" \"%{User-agent}i\"" vhost_combined
LogFormat "apache: [%{%Y-%m-%d %H-%M-%S%z}t] [pid %{pid}P:tid %{tid}P] %h %l %u \"%r\" %>s %O \"%{Referer}i\" \"%{User-agent}i\"" combined
LogFormat "apache: [%{%Y-%m-%d %H-%M-%S%z}t] [pid %{pid}P:tid %{tid}P] %h %l %u %t \"%r\" %>s %O" common
LogFormat "apache: [%{%Y-%m-%d %H-%M-%S%z}t] [pid %{pid}P:tid %{tid}P] %{Referer}i -> %U" referer
LogFormat "apache: [%{%Y-%m-%d %H-%M-%S%z}t] [pid %{pid}P:tid %{tid}P] %{User-agent}i" agent