[
https://issues.apache.org/jira/browse/FLINK-26454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17505005#comment-17505005
]
Gyula Fora commented on FLINK-26454:
------------------------------------
[~nicholasjiang] are you planning to start on this or would you like me to take
over the discussion and implementation?
> 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
> Assignee: Nicholas Jiang
> Priority: Major
>
> 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)