From 80943648ff012daf275cc8e159d4125812f3f409 Mon Sep 17 00:00:00 2001 From: Daniel Dourvaris Date: Wed, 22 Jun 2016 14:57:37 +0300 Subject: [PATCH] debug: skip model.settings query logging --- rhodecode/lib/utils2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rhodecode/lib/utils2.py b/rhodecode/lib/utils2.py index cddc7229..c62d94fb 100644 --- a/rhodecode/lib/utils2.py +++ b/rhodecode/lib/utils2.py @@ -321,7 +321,8 @@ def engine_from_config(configuration, prefix='sqlalchemy.', **kwargs): setattr(conn, 'query_start_time', time.time()) log.info(color_sql(">>>>> STARTING QUERY >>>>>")) calling_context = find_calling_context(ignore_modules=[ - 'rhodecode.lib.caching_query' + 'rhodecode.lib.caching_query', + 'rhodecode.model.settings', ]) if calling_context: log.info(color_sql('call context %s:%s' % (