generated from kyma-project/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Description
Adjust logging in application-connector, so that deployments labelled with kyma-project.io/module=application-connector produce logs that are compliant with recommendations documented here.
Reason
Our goal is unify log format in order to reduce the time needed for users and support engineers to create error and warning log dumps.
kyma-project/cli#2651
Expected logs
- make all log entries JSON parsable (parsing logs with jq produces no error)
- include
level:debug,info,warn,error - include
timestamp(notts) inRFC3339format - include
message(notmsg)
Additionally
- make sure the deployment
application-connector-controller-managercontains thekyma-project.io/module=application-connectorlabel
Actual logs
{"L":"DEBUG","timestamp":"2025-10-24T14:41:15Z","C":"reconciler/apply.go:24","M":"applying","reqID":124,"gvk":"apps/v1, Kind=Deployment","name":"compass-runtime-agent","ns":"kyma-system"}
{"L":"DEBUG","timestamp":"2025-10-24T14:41:15Z","C":"reconciler/apply.go:24","M":"applying","reqID":124,"gvk":"networking.istio.io/v1beta1, Kind=Gateway","name":"kyma-gateway-application-connector","ns":"kyma-system"}
{"L":"DEBUG","timestamp":"2025-10-24T14:41:15Z","C":"reconciler/apply.go:24","M":"applying","reqID":124,"gvk":"networking.istio.io/v1beta1, Kind=VirtualService","name":"central-application-connectivity-validator","ns":"kyma-system"}
{"L":"INFO","timestamp":"2025-10-24T14:41:15Z","C":"reconciler/fsm.go:70","M":"switching state from github.com/kyma-project/application-connector-manager/pkg/reconciler.sFnApply to github.com/kyma-project/application-connector-manager/pkg/reconciler.sFnVerify","reqID":124,"result":null,"err":null,"mFnIsNill":false}
{"L":"INFO","timestamp":"2025-10-24T14:41:15Z","C":"reconciler/fsm.go:70","M":"switching state from github.com/kyma-project/application-connector-manager/pkg/reconciler.sFnVerify to github.com/kyma-project/application-connector-manager/pkg/reconciler.sFnVerify.stopWithRequeueAfter.sFnUpdateStatus.func3","reqID":124,"result":null,"err":null,"mFnIsNill":false}
{"L":"INFO","timestamp":"2025-10-24T14:41:15Z","C":"reconciler/fsm.go:70","M":"switching state from github.com/kyma-project/application-connector-manager/pkg/reconciler.sFnVerify.stopWithRequeueAfter.sFnUpdateStatus.func3 to github.com/kyma-project/application-connector-manager/pkg/reconciler.sFnEmmitEventfunc.func1","reqID":124,"result":null,"err":null,"mFnIsNill":false}
{"L":"INFO","timestamp":"2025-10-24T14:41:15Z","C":"reconciler/fsm.go:70","M":"switching state from github.com/kyma-project/application-connector-manager/pkg/reconciler.sFnEmmitEventfunc.func1 to ","reqID":124,"result":{"Requeue":false,"RequeueAfter":120000000000},"err":null,"mFnIsNill":true}
{"L":"INFO","timestamp":"2025-10-24T14:41:15Z","C":"reconciler/fsm.go:80","M":"reconciliation done","reqID":124,"error":null,"result":{"Requeue":false,"RequeueAfter":120000000000}}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels