From a3c91450d570d12b429d9d6b0ceb630d692c70b6 Mon Sep 17 00:00:00 2001 From: bergquist Date: Fri, 7 Oct 2016 10:39:01 +0200 Subject: [PATCH] tech(config): add log.filters to default and sample --- conf/defaults.ini | 3 +++ conf/sample.ini | 4 ++++ docs/sources/installation/configuration.md | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) 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`