diff --git a/docs/configuration.md b/docs/configuration.md index 0388d84c2..fa4d625af 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -266,74 +266,63 @@ The `log` subsection configures the behavior of the logging system. The logging system outputs everything to stdout. You can adjust the granularity and format with this configuration section. - log: - level: debug - formatter: text - fields: - service: registry - environment: staging +``` +log: + level: debug + formatter: text + fields: + service: registry + environment: staging +```
Parameter | -Required | -Description | -
---|---|---|
- level
- |
- - no - | -
- Sets the sensitivity of logging output. Permitted values are
- error , warn , info and
- debug . The default is info .
- |
-
- formatter
- |
- - no - | -
- This selects the format of logging output. The format primarily affects how keyed
- attributes for a log line are encoded. Options are text , json or
- logstash . The default is text .
- |
-
- fields
- |
- - no - | -- A map of field names to values. These are added to every log line for - the context. This is useful for identifying log messages source after - being mixed in other systems. - | +
Parameter | +Required | +Description | +
level |
+no | +Sets the sensitivity of logging output. Permitted values are
+error , warn , info and
+debug . The default is info .
+ |
+
formatter |
+no | +This selects the format of logging output. The format primarily affects how keyed attributes for a log line are encoded. Options are text , json or
+logstash . The default is text .
+ |
+
+fields
+ |
+no | +A map of field names to values. These are added to every log line for the context. This is useful for identifying log messages source after being mixed in other systems. + | +