[docs/configure/logging] include detail about multiple log filters (#100888)

This commit is contained in:
tab0r
2025-02-19 20:05:11 +01:00
committed by GitHub
parent 3f8a34303c
commit 634142eca3
@@ -1515,6 +1515,16 @@ Options are `debug`, `info`, `warn`, `error`, and `critical`. Default is `info`.
Optional settings to set different levels for specific loggers.
For example: `filters = sqlstore:debug`
You can use multiple filters with a comma-seperated list:
For example: `filters = sqlstore:debug,plugins:info`
The equivalent for a `docker-compose.yaml` looks like this:
```
GF_LOG_FILTERS: sqlstore:debug,plugins:info
GF_LOG_LEVEL: error
```
#### `user_facing_default_error`
Use this configuration option to set the default error message shown to users. This message is displayed instead of sensitive backend errors, which should be obfuscated. The default message is `Please inspect the Grafana server log for details.`.