Browse Source

Better loglevel for hooks calls

Yann Weber 8 years ago
parent
commit
e2ddb47777
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      lodel/plugin/hooks.py

+ 2
- 2
lodel/plugin/hooks.py View File

@@ -65,10 +65,10 @@ class LodelHook(object):
65 65
     @classmethod
66 66
     def call_hook(cls, hook_name, caller, payload):
67 67
         LodelContext.expose_modules(globals(), {'lodel.logger': 'logger'})
68
-        logger.info("Calling hook '%s'" % hook_name)
68
+        logger.debug("Calling hook '%s'" % hook_name)
69 69
         if hook_name in cls._hooks:
70 70
             for hook in cls._hooks[hook_name]:
71
-                logger.info("Lodel hook '%s' calls %s" % (
71
+                logger.debug("Lodel hook '%s' calls %s" % (
72 72
                     hook_name, hook))
73 73
                 payload = hook(hook_name, caller, payload)
74 74
         return payload

Loading…
Cancel
Save