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

pull/101000/head
tab0r 3 months ago committed by GitHub
parent 3f8a34303c
commit 634142eca3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 10
      docs/sources/setup-grafana/configure-grafana/_index.md

@ -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.`.

Loading…
Cancel
Save