From ed77bb268d3b4aa4beed5b358135cc489105c188 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Thu, 7 Mar 2013 11:14:45 +0000 Subject: [PATCH] heat common : quieten policy logging Policy logs the currently loaded policy for every request, which is too noisy even for debug - we already log the file which contains the policy when we load it, so this is probably sufficient. fixes bug 1150091 Change-Id: I0891a30793375c7a0a6b2856db4377eecfeaad8e --- heat/common/policy.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/heat/common/policy.py b/heat/common/policy.py index b017aa44..a2a400ee 100644 --- a/heat/common/policy.py +++ b/heat/common/policy.py @@ -69,8 +69,6 @@ class Enforcer(object): rule_type = "default " text_rules = dict((k, str(v)) for k, v in rules.items()) - logger.debug(_('Loaded %(rule_type)spolicy rules: %(text_rules)s') % - locals()) self.set_rules(rules) -- 2.45.2