Project

General

Profile

Bug #9863

Hook execution logs should not be displayed in default verbosity

Added by Alexis MOUSSET 12 months ago. Updated 11 months ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Web - Config management
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Pull Request:
Priority:

Description

Currently, for each node, we have, at each generation:

2016-12-28 15:24:03] INFO  hooks - Run hooks: '/opt/rudder/hooks.d/policy-generation-node-ready/* HookParameter(RUDDER_GENERATION_DATETIME,2016-12-28T15:24:00.128Z) HookParameter(RUDDER_NODEID,375059e0-b97c-40ff-a61e-d3c4972de7bd) HookParameter(RUDDER_NEXT_POLICIES_DIRECTORY,/var/rudder/share/375059e0-b97c-40ff-a61e-d3c4972de7bd/rules.new/cfengine-community) HookParameter(RUDDER_AGENT_TYPE,cfengine-community)'
[2016-12-28 15:24:03] INFO  hooks - Done in PT0.254S: '/opt/rudder/hooks.d/policy-generation-node-ready/* HookParameter(RUDDER_GENERATION_DATETIME,2016-12-28T15:24:00.128Z) HookParameter(RUDDER_NODEID,375059e0-b97c-40ff-a61e-d3c4972de7bd) HookParameter(RUDDER_NEXT_POLICIES_DIRECTORY,/var/rudder/share/375059e0-b97c-40ff-a61e-d3c4972de7bd/rules.new/cfengine-community) HookParameter(RUDDER_AGENT_TYPE,cfengine-community)'
[2016-12-28 15:24:03] INFO  hooks - Run hooks: '/opt/rudder/hooks.d/policy-generation-node-finished/* HookParameter(RUDDER_GENERATION_DATETIME,2016-12-28T15:24:00.128Z) HookParameter(RUDDER_NODEID,375059e0-b97c-40ff-a61e-d3c4972de7bd) HookParameter(RUDDER_POLICIES_DIRECTORY,/var/rudder/share/375059e0-b97c-40ff-a61e-d3c4972de7bd/rules/cfengine-community) HookParameter(RUDDER_AGENT_TYPE,cfengine-community)'
[2016-12-28 15:24:03] INFO  hooks - Done in PT0S: '/opt/rudder/hooks.d/policy-generation-node-finished/* HookParameter(RUDDER_GENERATION_DATETIME,2016-12-28T15:24:00.128Z) HookParameter(RUDDER_NODEID,375059e0-b97c-40ff-a61e-d3c4972de7bd) HookParameter(RUDDER_POLICIES_DIRECTORY,/var/rudder/share/375059e0-b97c-40ff-a61e-d3c4972de7bd/rules/cfengine-community) HookParameter(RUDDER_AGENT_TYPE,cfengine-community)'

It should propably not be displayed in info, but in higher verbosity level. Plus I don't get the "Done in PT0.254S" (shouldn't it be "Done in 0.254s" instead?)


Related issues

Related to Rudder - User story #8353: Implement notifications for different server-side actions and events (hooks) Released 2016-12-22
Duplicates Rudder - User story #9883: Hook execution logs should not be displayed in default verbosity Released 2017-01-02

History

#1 Updated by Alexis MOUSSET 11 months ago

  • Related to User story #9883: Hook execution logs should not be displayed in default verbosity added

#2 Updated by Alexis MOUSSET 11 months ago

  • Status changed from New to Rejected

#3 Updated by Alexis MOUSSET 11 months ago

  • Related to deleted (User story #9883: Hook execution logs should not be displayed in default verbosity )

#4 Updated by Alexis MOUSSET 11 months ago

  • Duplicates User story #9883: Hook execution logs should not be displayed in default verbosity added

#5 Updated by Fran├žois ARMAND 10 months ago

  • Related to User story #8353: Implement notifications for different server-side actions and events (hooks) added

Also available in: Atom PDF