Skip to content

Commit

Permalink
Another logging README update
Browse files Browse the repository at this point in the history
  • Loading branch information
TinaHeiligers committed Jan 26, 2021
1 parent 56f267a commit ed5f6bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/server/logging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,10 @@ Here is what we get with the config above:
| metrics.ops | console | debug |


The `root` logger has a dedicated configuration node since this context is special and should always exist. By
default `root` is configured with `info` level and `default` appender that is also always available. This is the
configuration that all custom loggers will use unless they're re-configured explicitly.

For example to see _all_ log messages that fall back on the `root` logger configuration, just add one line to the configuration:

```yaml
Expand All @@ -343,10 +347,6 @@ logging.root.level: off
```
### Dedicated loggers

The `root` logger has a dedicated configuration node since this context is special and should always exist. By
default `root` is configured with `info` level and `default` appender that is also always available. This is the
configuration that all custom loggers will use unless they're re-configured explicitly.

The `metrics.ops` logger is configured with `debug` level and will automatically output sample system and process information at a regular interval.
The metrics that are logged are a subset of the data collected and are formatted in the log message as follows:

Expand Down

0 comments on commit ed5f6bf

Please sign in to comment.