tests: reduce unhelpful debug logging

Removed some extremely verbose debug logging that makes
the logs difficult to read when debug is enabled.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
Travis Nielsen committed 2020-03-30 13:32:47 -06:00
1 parent 360e5552b6
commit 0e55aa348b
2 files changed
+1 -3

No files matched your search

@@ -155,7 +155,6 @@ func objectChanged(oldObj, newObj runtime.Object) (bool, error) {
return doReconcile, nil
}
logger.Debugf("diff is %+v", diff.String())
return isValidEvent(diff.Patch), nil
}
@@ -201,7 +200,6 @@ func WatchPredicateForNonCRDObject(owner runtime.Object, scheme *runtime.Scheme)
return objectChanged
}
logger.Debugf("object %q did not match on update", object.GetName())
return false
},
GenericFunc: func(e event.GenericEvent) bool {
+1 -1
View File
@@ -398,7 +398,7 @@ func (r *ReconcileObjectStoreUser) objectStoreInitialized(cephObjectStoreUser *c
// check if at least one pod is running
if len(pods.Items) > 0 {
logger.Debugf("CephObjectStore %q is running with %d pods. %v", cephObjectStoreUser.Name, len(pods.Items), pods)
logger.Debugf("CephObjectStore %q is running with %d pods", cephObjectStoreUser.Name, len(pods.Items))
return nil
}