File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,10 @@ There are various pre-defined formats provided:
105105##### combined
106106
107107Standard Apache combined log output.
108-
109108```
110109:remote-addr - :remote-user [:date[clf]] ":method :url HTTP/:http-version" :status :res[content-length] ":referrer" ":user-agent"
110+ # will output
111+ ::1 - - [27/Nov/2024:06:21:42 +0000] "GET /combined HTTP/1.1" 200 2 "-" "curl/8.7.1"
111112```
112113
113114##### common
@@ -116,6 +117,8 @@ Standard Apache common log output.
116117
117118```
118119:remote-addr - :remote-user [:date[clf]] ":method :url HTTP/:http-version" :status :res[content-length]
120+ # will output
121+ ::1 - - [27/Nov/2024:06:21:46 +0000] "GET /common HTTP/1.1" 200 2
119122```
120123
121124##### dev
@@ -127,6 +130,8 @@ for information codes.
127130
128131```
129132:method :url :status :response-time ms - :res[content-length]
133+ # will output
134+ GET /dev 200 0.224 ms - 2
130135```
131136
132137##### short
@@ -135,6 +140,8 @@ Shorter than default, also including response time.
135140
136141```
137142:remote-addr :remote-user :method :url HTTP/:http-version :status :res[content-length] - :response-time ms
143+ # will output
144+ ::1 - GET /short HTTP/1.1 200 2 - 0.283 ms
138145```
139146
140147##### tiny
@@ -143,6 +150,8 @@ The minimal output.
143150
144151```
145152:method :url :status :res[content-length] - :response-time ms
153+ # will output
154+ GET /tiny 200 2 - 0.188 ms
146155```
147156
148157#### Tokens
You can’t perform that action at this time.
0 commit comments