Commit d97fbb3
committed
Add
- Integrated `slog` logging into the `MirrorPeerSecretReconciler`, `MirrorPeerReconciler`, and `DRPolicyReconciler` controllers.
- Improved error handling and logging for better observability and debugging.
- Replaced klog with slog for consistency across the codebase.
Changes include:
- Added `Logger` field to controller structs to pass and use `slog.Logger`.
- Enhanced logging messages to provide more context, including function names, object names, namespaces, and error details.
- Ensured logs capture both normal operation (e.g., successful updates) and error conditions.
Signed-off-by: vbadrina <[email protected]>slog structured logging to various controllers and utility functions1 parent acfbd5a commit d97fbb3
File tree
6 files changed
+519
-321
lines changed- controllers
6 files changed
+519
-321
lines changed
0 commit comments