@@ -111,7 +111,7 @@ func NewAdoptionReconciler(cli client.Client, log logr.Logger, scheme *runtime.S
111
111
func (r * AdoptionReconciler ) ReconcileSubscription (ctx context.Context , req ctrl.Request ) (reconcile.Result , error ) {
112
112
// Set up a convenient log object so we don't have to type request over and over again
113
113
log := r .log .WithValues ("request" , req )
114
- log .V (4 ).Info ("reconciling subscription" )
114
+ log .V (1 ).Info ("reconciling subscription" )
115
115
116
116
// Fetch the Subscription from the cache
117
117
in := & operatorsv1alpha1.Subscription {}
@@ -173,7 +173,7 @@ func (r *AdoptionReconciler) ReconcileSubscription(ctx context.Context, req ctrl
173
173
func (r * AdoptionReconciler ) ReconcileClusterServiceVersion (ctx context.Context , req ctrl.Request ) (reconcile.Result , error ) {
174
174
// Set up a convenient log object so we don't have to type request over and over again
175
175
log := r .log .WithValues ("request" , req )
176
- log .V (4 ).Info ("reconciling csv" )
176
+ log .V (1 ).Info ("reconciling csv" )
177
177
178
178
// Fetch the CSV from the cache
179
179
in := & operatorsv1alpha1.ClusterServiceVersion {}
@@ -265,7 +265,7 @@ func (r *AdoptionReconciler) adopt(ctx context.Context, operator *decorators.Ope
265
265
266
266
if err := r .Get (ctx , types.NamespacedName {Namespace : m .GetNamespace (), Name : m .GetName ()}, cObj ); err != nil {
267
267
if apierrors .IsNotFound (err ) {
268
- r .log .Error ( err , "component not found" )
268
+ r .log .V ( 1 ). Info ( " not found", "component" , cObj )
269
269
err = nil
270
270
}
271
271
@@ -307,7 +307,7 @@ func (r *AdoptionReconciler) disown(ctx context.Context, operator *decorators.Op
307
307
}
308
308
309
309
// Only update if freshly disowned
310
- r .log .V (4 ).Info ("component disowned" , "component" , candidate )
310
+ r .log .V (1 ).Info ("component disowned" , "component" , candidate )
311
311
uCObj , ok := candidate .(client.Object )
312
312
if ! ok {
313
313
return fmt .Errorf ("Unable to typecast runtime.Object to client.Object" )
0 commit comments