Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In particular, log the GroupKind and name of the object in question. Where non-empty, also log the field path. Also attempt to log the component name and secondary object, if present. Order the fields such that they read somewhat naturally: ``` timestamp severity kind.group name.field action note ``` for example: ``` 2020-10-06 08:00:45 +0000 UTC Warning Route.serving.knative.dev mnist-predictor-default InternalError failed to update Ingress: Operation cannot be fulfilled on ingresses.networking.internal.knative.dev "mnist-predictor-default": the object has been modified; please apply your changes to the latest version and try again 2020-10-06 08:01:27 +0000 UTC Normal Pod test-bucket-delete-jd6xm.spec.containers{mc-rb} Pulled Successfully pulled image "minio/mc:RELEASE.2020-08-20T00-23-01Z" ``` Signed-off-by: Marcin Owsiany <mowsiany@D2iQ.com>
- Loading branch information