Gyula Fora created FLINK-26454:
----------------------------------
Summary: Improve operator logging
Key: FLINK-26454
URL: https://issues.apache.org/jira/browse/FLINK-26454
Project: Flink
Issue Type: Sub-task
Components: Kubernetes Operator
Reporter: Gyula Fora
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
--
This message was sent by Atlassian Jira
(v8.20.1#820001)