Don't log about no notification on GET requests
The pecan notifier hook was logging on every GET request that it wasn't doing anything, which led to excessive logging. This just eliminates it. TrivialFix Change-Id: Ie1262b54595f40f69c6859a09850845826ee8f14
This commit is contained in:
parent
31d24b4e1a
commit
79d7f76964
|
@ -66,7 +66,6 @@ class NotifierHook(hooks.PecanHook):
|
|||
return
|
||||
action = pecan_constants.ACTION_MAP.get(state.request.method)
|
||||
if not action or action not in ('create', 'update', 'delete'):
|
||||
LOG.debug("No notification will be sent for action: %s", action)
|
||||
return
|
||||
if utils.is_member_action(utils.get_controller(state)):
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue