Skip to content

Commit ed5f6bf

Browse files
committed
Another logging README update
1 parent 56f267a commit ed5f6bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/core/server/logging/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,10 @@ Here is what we get with the config above:
330330
| metrics.ops | console | debug |
331331

332332

333+
The `root` logger has a dedicated configuration node since this context is special and should always exist. By
334+
default `root` is configured with `info` level and `default` appender that is also always available. This is the
335+
configuration that all custom loggers will use unless they're re-configured explicitly.
336+
333337
For example to see _all_ log messages that fall back on the `root` logger configuration, just add one line to the configuration:
334338

335339
```yaml
@@ -343,10 +347,6 @@ logging.root.level: off
343347
```
344348
### Dedicated loggers
345349

346-
The `root` logger has a dedicated configuration node since this context is special and should always exist. By
347-
default `root` is configured with `info` level and `default` appender that is also always available. This is the
348-
configuration that all custom loggers will use unless they're re-configured explicitly.
349-
350350
The `metrics.ops` logger is configured with `debug` level and will automatically output sample system and process information at a regular interval.
351351
The metrics that are logged are a subset of the data collected and are formatted in the log message as follows:
352352

0 commit comments

Comments
 (0)