-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The policy ogs can be quite cryptic to the uninitiated. In particular, because one policy may invoke others, and a subset of the 'others' may fail benignly, the logs can look full of errors, even when there is nothing wrong. This CR tries to address this in two ways, first, by adding a message to the implicit meta policy evaluation warning that the errors may be benign. Secondly, by adding a policy logger wrapper around policies, which indicate the fully qualified path of the policy being evaluated. And finally, the implicit meta policies are enhanced to say which policies were evaluated when there are not enough sub-policies which evaluate successfully. Change-Id: I032ef0d8e0a0d85f574ab313f0137cb4c6556d4a Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
- Loading branch information
Jason Yellick
committed
Aug 30, 2017
1 parent
f3600cc
commit e503a08
Showing
2 changed files
with
58 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters