# HG changeset patch # User domruf # Date 2018-03-08 23:16:03 # Node ID 6ae76150acbd02ac9df39e23335c538dbf3eb291 # Parent 150173a027ee2e6cbd6f61a28988e10195027656 logging: add missing logging config for werkzeug and backlash diff --git a/development.ini b/development.ini --- a/development.ini +++ b/development.ini @@ -341,7 +341,7 @@ script_location = kallithea:alembic ################################ [loggers] -keys = root, routes, kallithea, sqlalchemy, tg, gearbox, beaker, templates, whoosh_indexer +keys = root, routes, kallithea, sqlalchemy, tg, gearbox, beaker, templates, whoosh_indexer, werkzeug, backlash [handlers] keys = console, console_sql @@ -413,6 +413,18 @@ handlers = qualname = whoosh_indexer propagate = 1 +[logger_werkzeug] +level = WARN +handlers = +qualname = werkzeug +propagate = 1 + +[logger_backlash] +level = WARN +handlers = +qualname = backlash +propagate = 1 + ############## ## HANDLERS ## ############## diff --git a/kallithea/lib/paster_commands/template.ini.mako b/kallithea/lib/paster_commands/template.ini.mako --- a/kallithea/lib/paster_commands/template.ini.mako +++ b/kallithea/lib/paster_commands/template.ini.mako @@ -529,7 +529,7 @@ script_location = kallithea:alembic <%text>################################ [loggers] -keys = root, routes, kallithea, sqlalchemy, tg, gearbox, beaker, templates, whoosh_indexer +keys = root, routes, kallithea, sqlalchemy, tg, gearbox, beaker, templates, whoosh_indexer, werkzeug, backlash [handlers] keys = console, console_sql @@ -594,6 +594,18 @@ handlers = qualname = whoosh_indexer propagate = 1 +[logger_werkzeug] +level = WARN +handlers = +qualname = werkzeug +propagate = 1 + +[logger_backlash] +level = WARN +handlers = +qualname = backlash +propagate = 1 + <%text>############## <%text>## HANDLERS ## <%text>##############