Commit a39ff2f
committed
fix: Add controller prefix to duplicate log messages
Two different controllers are watching the same Secret
changes and both logging when they detect that a keystone-related
resource has changed.
This commit add controller prefix to both controllers:
- Add [ControlPlane] prefix to OpenStackControlPlane controller log
- Add [Client] prefix to OpenStackClient controller log
Benefits:
- Immediate differentiation of log sources
- Low risk, minimal code changes
- Maintains all existing functionality
- Improved operator debugging experience
Before:
'input source keystone changed, reconcile: nova - openstack'
'input source keystone changed, reconcile: nova - openstack'
After:
'[ControlPlane] input source keystone changed, reconcile: nova -
openstack'
'[Client] input source keystone changed, reconcile: nova - openstack'
Fixes: #duplicate-logs
Assisted by: claude-4-sonnet1 parent cf133b3 commit a39ff2f
File tree
2 files changed
+2
-2
lines changed- controllers
- client
- core
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
545 | | - | |
| 545 | + | |
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
761 | | - | |
| 761 | + | |
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
| |||
0 commit comments