[
https://issues.apache.org/jira/browse/FLINK-29194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600316#comment-17600316
]
Gyula Fora commented on FLINK-29194:
------------------------------------
I think we should not tie debug logging to any listener/plugin mechanism.
Simply add the missing debug logs to the recorder components.
Otherwise if the user uses a different listener the logging behavior changes
which is a little weird interaction
> 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)