mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
Reduced verbosity of admission request filter INFO log message (#8712)
* Reduced verbosity of admission request filter INFO log message Signed-off-by: satyazzz123 <beherasatyajit716@gmail.com> * Changed the verbosity level to 4 Signed-off-by: Satyajit Behera <105061492+satyazzz123@users.noreply.github.com> --------- Signed-off-by: satyazzz123 <beherasatyajit716@gmail.com> Signed-off-by: Satyajit Behera <105061492+satyazzz123@users.noreply.github.com> Co-authored-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
This commit is contained in:
parent
d898ac9667
commit
adc0f175d2
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ func (inner AdmissionHandler) WithSubResourceFilter(subresources ...string) Admi
|
|||
}
|
||||
|
||||
func filtered(ctx context.Context, logger logr.Logger, request AdmissionRequest, message string, keysAndValues ...interface{}) AdmissionResponse {
|
||||
logger.V(2).Info(message, keysAndValues...)
|
||||
logger.V(4).Info(message, keysAndValues...)
|
||||
tracing.SetAttributes(ctx, tracing.RequestFilteredKey.Bool(true))
|
||||
return admissionutils.ResponseSuccess(request.UID)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue