From 634142eca33ac06ecadfb54ba0c92f387ad01ac9 Mon Sep 17 00:00:00 2001 From: tab0r Date: Wed, 19 Feb 2025 11:05:11 -0800 Subject: [PATCH] [docs/configure/logging] include detail about multiple log filters (#100888) --- docs/sources/setup-grafana/configure-grafana/_index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/sources/setup-grafana/configure-grafana/_index.md b/docs/sources/setup-grafana/configure-grafana/_index.md index e0b265a30d1..527fc60d7a5 100644 --- a/docs/sources/setup-grafana/configure-grafana/_index.md +++ b/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.`.