logging
logging:
level: info
format: text
#disable_timestamp: true
#timestamp_format: "2006-01-02T15:04:05.000Z07:00"
logging.level
Default: info ReloadableControls the verbosity of logs. The options are panic, fatal, error, warning, info, or debug.
logging.format
Default: text ReloadableControls the logging format. The options are json or text
logging.disable_timestamp
Default: False ReloadableDisables timestamp logging. Useful when output is redirected to logging system that already adds timestamps.
logging.timestamp_format
Reloadabletimestamp_format is specified in Go time format, see: https://golang.org/pkg/time/#pkg-constants.
The default when format: json is set is an RFC3339 timestamp, e.g.
"2006-01-02T15:04:05Z07:00".
When format: text is set:
- If a TTY is attached, the timestamp output is seconds since beginning of execution.
- Otherwise it is
"2006-01-02T15:04:05Z07:00"(RFC3339).
As an example, to log as RFC3339 with millisecond precision:
timestamp_format: '2006-01-02T15:04:05.000Z07:00'