Project

General

Profile

Actions

Bug #12731

closed

Replace the log debug DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl which contains the timing summary to the policy.generation logger, in INFO

Added by Nicolas CHARLES over 6 years ago. Updated over 6 years ago.

Status:
Released
Priority:
N/A
Category:
System integration
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
61
Name check:
Fix check:
Regression:

Description

Timing summary is only in debug

[2018-06-01 11:20:34] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Timing summary:
[2018-06-01 11:20:34] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Run pre-gen scripts hooks :         16 ms
[2018-06-01 11:20:34] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Run pre-gen modules hooks :          1 ms
[2018-06-01 11:20:34] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Fetch all information     :        546 ms
[2018-06-01 11:20:34] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Historize names           :       1291 ms
[2018-06-01 11:20:34] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Build current rule values :        160 ms
[2018-06-01 11:20:34] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Build target configuration:       8488 ms
[2018-06-01 11:20:34] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Write node configurations :      39388 ms
[2018-06-01 11:20:34] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Save expected reports     :        760 ms
[2018-06-01 11:20:34] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Run post generation hooks :          7 ms
[2018-06-01 11:20:34] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Number of nodes updated   :       1597   
[2018-06-01 11:20:34] DEBUG com.normation.rudder.services.policies.PromiseGenerationServiceImpl - Policy generation completed in 67280 ms

we'd like it in INFO, with the policy.generation timer, used for timing info, so that we have relevant information always on for policy generation

Actions

Also available in: Atom PDF