git.iko.soy/typeable/oauth2-proxy
on master help sign in
modify timestamp format in docs
58ad054ternbusty
docs/docs/configuration/overview.md+6−6
@@ -257,7 +257,7 @@ Logging of requests to the `/ping` endpoint (or using `--ping-user-agent`) and t
257Authentication logs are logs which are guaranteed to contain a username or email address of a user attempting to authenticate. These logs are output by default in the below format:
257Authentication logs are logs which are guaranteed to contain a username or email address of a user attempting to authenticate. These logs are output by default in the below format:
258
258
259```
259```
260−<REMOTE_ADDRESS> - <REQUEST ID> - <user@domain.com> [19/Mar/2015:17:20:19 -0400] [<STATUS>] <MESSAGE>
260+<REMOTE_ADDRESS> - <REQUEST ID> - <user@domain.com> [2015/03/19 17:20:19] [<STATUS>] <MESSAGE>
261```
261```
262
262
263The status block will contain one of the below strings:
263The status block will contain one of the below strings:
@@ -283,7 +283,7 @@ Available variables for auth logging:
283| Protocol | HTTP/1.0 | The request protocol. |
283| Protocol | HTTP/1.0 | The request protocol. |
284| RequestID | 00010203-0405-4607-8809-0a0b0c0d0e0f | The request ID pulled from the `--request-id-header`. Random UUID if empty |
284| RequestID | 00010203-0405-4607-8809-0a0b0c0d0e0f | The request ID pulled from the `--request-id-header`. Random UUID if empty |
285| RequestMethod | GET | The request method. |
285| RequestMethod | GET | The request method. |
286−| Timestamp | 19/Mar/2015:17:20:19 -0400 | The date and time of the logging event. |
286+| Timestamp | 2015/03/19 17:20:19 | The date and time of the logging event. |
287| UserAgent | - | The full user agent as reported by the requesting client. |
287| UserAgent | - | The full user agent as reported by the requesting client. |
288| Username | username@email.com | The email or username of the auth request. |
288| Username | username@email.com | The email or username of the auth request. |
289| Status | AuthSuccess | The status of the auth request. See above for details. |
289| Status | AuthSuccess | The status of the auth request. See above for details. |
@@ -292,7 +292,7 @@ Available variables for auth logging:
292HTTP request logs will output by default in the below format:
292HTTP request logs will output by default in the below format:
293
293
294```
294```
295−<REMOTE_ADDRESS> - <REQUEST ID> - <user@domain.com> [19/Mar/2015:17:20:19 -0400] <HOST_HEADER> GET <UPSTREAM_HOST> "/path/" HTTP/1.1 "<USER_AGENT>" <RESPONSE_CODE> <RESPONSE_BYTES> <REQUEST_DURATION>
295+<REMOTE_ADDRESS> - <REQUEST ID> - <user@domain.com> [2015/03/19 17:20:19] <HOST_HEADER> GET <UPSTREAM_HOST> "/path/" HTTP/1.1 "<USER_AGENT>" <RESPONSE_CODE> <RESPONSE_BYTES> <REQUEST_DURATION>
296```
296```
297
297
298If you require a different format than that, you can configure it with the `--request-logging-format` flag.
298If you require a different format than that, you can configure it with the `--request-logging-format` flag.
@@ -315,7 +315,7 @@ Available variables for request logging:
315| RequestURI | "/oauth2/auth" | The URI path of the request. |
315| RequestURI | "/oauth2/auth" | The URI path of the request. |
316| ResponseSize | 12 | The size in bytes of the response. |
316| ResponseSize | 12 | The size in bytes of the response. |
317| StatusCode | 200 | The HTTP status code of the response. |
317| StatusCode | 200 | The HTTP status code of the response. |
318−| Timestamp | 19/Mar/2015:17:20:19 -0400 | The date and time of the logging event. |
318+| Timestamp | 2015/03/19 17:20:19 | The date and time of the logging event. |
319| Upstream | - | The upstream data of the HTTP request. |
319| Upstream | - | The upstream data of the HTTP request. |
320| UserAgent | - | The full user agent as reported by the requesting client. |
320| UserAgent | - | The full user agent as reported by the requesting client. |
321| Username | username@email.com | The email or username of the auth request. |
321| Username | username@email.com | The email or username of the auth request. |
@@ -324,7 +324,7 @@ Available variables for request logging:
324All other logging that is not covered by the above two types of logging will be output in this standard logging format. This includes configuration information at startup and errors that occur outside of a session. The default format is below:
324All other logging that is not covered by the above two types of logging will be output in this standard logging format. This includes configuration information at startup and errors that occur outside of a session. The default format is below:
325
325
326```
326```
327−[19/Mar/2015:17:20:19 -0400] [main.go:40] <MESSAGE>
327+[2015/03/19 17:20:19] [main.go:40] <MESSAGE>
328```
328```
329
329
330If you require a different format than that, you can configure it with the `--standard-logging-format` flag. The default format is configured as follows:
330If you require a different format than that, you can configure it with the `--standard-logging-format` flag. The default format is configured as follows:
@@ -337,7 +337,7 @@ Available variables for standard logging:
337
337
338| Variable | Example | Description |
338| Variable | Example | Description |
339| --- | --- | --- |
339| --- | --- | --- |
340−| Timestamp | 19/Mar/2015:17:20:19 -0400 | The date and time of the logging event. |
340+| Timestamp | 2015/03/19 17:20:19 | The date and time of the logging event. |
341| File | main.go:40 | The file and line number of the logging statement. |
341| File | main.go:40 | The file and line number of the logging statement. |
342| Message | HTTP: listening on 127.0.0.1:4180 | The details of the log statement. |
342| Message | HTTP: listening on 127.0.0.1:4180 | The details of the log statement. |
343
343