Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Coremunity
-
Platform Core KANBAN
-
Enhancement
-
The `--evaltrace` command line argument now displays the number of resources evaluated and the total number of resources to be evaluated
Description
The --evaltrace apply/agent option is valuable for showing which resource in the catalog is currently being evaluated, but it would be useful if the log messages showed the progress through the current catalog, e.g. resource 10 of 42. This would give an overall progress indication of the run.
As an example, with a single notify resource plus the standard resources generated in the catalog, I'd expect output similar to:
Info: Class[Main]: Starting to evaluate the resource (1 of 10)
|
Info: Class[Main]: Evaluated in 0.00 seconds
|
Info: /Stage[main]/Main/Notify[test]: Starting to evaluate the resource (2 of 10)
|
Notice: test
|
Notice: /Stage[main]/Main/Notify[test]/message: defined 'message' as 'test'
|
Debug: /Stage[main]/Main/Notify[test]: The container Class[Main] will propagate my refresh event
|
Info: /Stage[main]/Main/Notify[test]: Evaluated in 0.00 seconds
|