Update logging.asciidoc

- changed `2 seconds` to `2s` for consistency
- exchanged *trace* with *debug* time values and vice versa to be referable to the example above

Fixes #11671
This commit is contained in:
0xflotus 2020-03-10 06:50:03 +01:00 committed by Karol Bucek
parent 16e5f6280b
commit 14a504f7b1

View file

@ -165,10 +165,10 @@ slowlog.threshold.trace: 100ms
In this example: In this example:
* If the log level is set to `warn`, the log shows events that took longer than 2 seconds to process. * If the log level is set to `warn`, the log shows events that took longer than 2s to process.
* If the log level is set to `info`, the log shows events that took longer than 1s to process. * If the log level is set to `info`, the log shows events that took longer than 1s to process.
* If the log level is set to `trace`, the log shows events that took longer than 100ms to process.
* If the log level is set to `debug`, the log shows events that took longer than 500ms to process. * If the log level is set to `debug`, the log shows events that took longer than 500ms to process.
* If the log level is set to `trace`, the log shows events that took longer than 100ms to process.
The logs include the full event and filter configuration that are responsible The logs include the full event and filter configuration that are responsible
for the slowness. for the slowness.