You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Gyula Fora (Jira)" <ji...@apache.org> on 2022/03/22 16:57:00 UTC

[jira] [Closed] (FLINK-26454) Improve operator logging

     [ https://issues.apache.org/jira/browse/FLINK-26454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gyula Fora closed FLINK-26454.
------------------------------
    Resolution: Fixed

merged to main: 3cb4f2b152d35753f6f4895f56ff948abf82e6d7

> 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: Gyula Fora
>            Priority: Major
>              Labels: pull-request-available
>
> 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)