Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
At the moment the way information is logged throughout the operator is very inconsistent. Some parts log the name of the deployment, some the name + namespace, some neither of these.
We should try to clean this up and unify it across the operator.
I see basically 2 possible ways:
1. Add a log formatter utility to always attach name + namespace information to each logged line
2. Remove namespace + name from everywhere and extract this as part of the logger setting from MDC information the operator sdk already provides (https://javaoperatorsdk.io/docs/features)
We should discuss this on the mailing list as part of this work
Attachments
Issue Links
- links to