Skip to content

Commit 62cd68c

Browse files
committed
fix: remove V(1) verbosity from BackupCronJob controller logger
The BackupCronJob controller initialized its root logger with V(1), making all controller logs hidden unless the operator was started with increased zap verbosity. Remove the verbosity override from the controller logger to align with other controllers and use default log visibility consistently. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
1 parent 4afafa3 commit 62cd68c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ func main() {
192192
if err = (&backupCronJobController.BackupCronJobReconciler{
193193
Client: mgr.GetClient(),
194194
NonCachingClient: nonCachingClient,
195-
Log: ctrl.Log.WithName("controllers").WithName("BackupCronJob").V(1),
195+
Log: ctrl.Log.WithName("controllers").WithName("BackupCronJob"),
196196
Scheme: mgr.GetScheme(),
197197
}).SetupWithManager(mgr); err != nil {
198198
setupLog.Error(err, "unable to create controller", "controller", "BackupCronJob")

0 commit comments

Comments
 (0)