[ 
https://issues.apache.org/jira/browse/FLINK-29194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600531#comment-17600531
 ] 

Gyula Fora commented on FLINK-29194:
------------------------------------

I don’t really see why it’s important to be able to configure this in a single 
setting. I think people are used to configured logging on a per class level and 
having a somewhat arbitrary utility class to capture logging seems to be a 
little confusing. 
For me it looks natural that the statusrecorder logs independently of the event 
recorder and you control them independently.

> Add LoggingResourceListener
> ---------------------------
>
>                 Key: FLINK-29194
>                 URL: https://issues.apache.org/jira/browse/FLINK-29194
>             Project: Flink
>          Issue Type: New Feature
>          Components: Deployment / Kubernetes
>            Reporter: Matyas Orhidi
>            Priority: Major
>             Fix For: kubernetes-operator-1.2.0
>
>
> For auditing/debugging purposes the operator needs a way to report the 
> emitted events / status updates in the logs:
> {{Event  | Info    | SpecChanged     | UPGRADE change(s) detected 
> (FlinkDeploymentSpec[image=flink:1.15,restartNonce=<null>] differs from 
> FlinkDeploymentSpec[image=flink:1.15asdf,restartNonce=123]), starting 
> reconciliation.}}
> {{Event  | Info    | Suspended       | Suspending existing deployment.}}
> {{Status | Info    | UPGRADING       | The resource is being upgraded }}
> {{Status | Info    | UPGRADING       | The resource is being upgraded }}
> {{Event  | Info    | Submit          | Starting deployment}}
> {{Status | Info    | DEPLOYED        | The resource is deployed/submitted to 
> Kubernetes, but it’s not yet considered to be stable and might be rolled back 
> in the future }}
> {{Status | Info    | DEPLOYED        | The resource is deployed/submitted to 
> Kubernetes, but it’s not yet considered to be stable and might be rolled back 
> in the future }}
> {{Event  | Info    | StatusChanged   | Job status changed from RECONCILING to 
> CREATED}}
> {{Status | Info    | DEPLOYED        | The resource is deployed/submitted to 
> Kubernetes, but it’s not yet considered to be stable and might be rolled back 
> in the future }}
> {{Event  | Info    | StatusChanged   | Job status changed from CREATED to 
> RUNNING}}
> {{Status | Info    | STABLE          | The resource deployment is considered 
> to be stable and won’t be rolled back }}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to