diff --git a/conf/defaults.ini b/conf/defaults.ini index b6d6f9ee932..d47cefd6bf6 100644 --- a/conf/defaults.ini +++ b/conf/defaults.ini @@ -293,6 +293,9 @@ mode = console, file # Either "debug", "info", "warn", "error", "critical", default is "info" level = info +# optional settings to set different levels for specific loggers. Ex filters = sqlstore:debug +filters = + # For "console" mode only [log.console] level = diff --git a/conf/sample.ini b/conf/sample.ini index fd6dd79c256..dee40c6f2e9 100644 --- a/conf/sample.ini +++ b/conf/sample.ini @@ -277,6 +277,10 @@ # Either "trace", "debug", "info", "warn", "error", "critical", default is "info" ;level = info +# optional settings to set different levels for specific loggers. Ex filters = sqlstore:debug +;filters = + + # For "console" mode only [log.console] ;level = diff --git a/docs/sources/installation/configuration.md b/docs/sources/installation/configuration.md index ce69f5cbe61..e3e435d1194 100644 --- a/docs/sources/installation/configuration.md +++ b/docs/sources/installation/configuration.md @@ -532,7 +532,7 @@ Use space to separate multiple modes, e.g. "console file" ### level Either "debug", "info", "warn", "error", "critical", default is "info" -### filter +### filters optional settings to set different levels for specific loggers. Ex `filters = sqlstore:debug`