You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/11/04 07:52:20 UTC

[GitHub] [apisix-ingress-controller] zou8944 commented on issue #912: bug: Structured log field types are not uniform

zou8944 commented on issue #912:
URL: https://github.com/apache/apisix-ingress-controller/issues/912#issuecomment-1303084565

   @tao12345666333 This Issue could be closed. the log seems ok now.
   
   ```shell
   2022-11-04T15:47:46+08:00       debug   apisix/apisix_route.go:617      ApisixRoute update event arrived        {"key": "ingress-apisix/httpserver-route", "new object": {"metadata":{"name":"httpserver-route","namespace":"ingress-apisix","uid":"933ad202-ec65-4852-b6d6-809c8ca473ca","resourceVersion":"146099","generation":4,"creationTimestamp":"2022-11-04T07:41:21Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"apisix.apache.org/v2\",\"kind\":\"ApisixRoute\",\"metadata\":{\"annotations\":{},\"name\":\"httpserver-route\",\"namespace\":\"ingress-apisix\"},\"spec\":{\"http\":[{\"backends\":[{\"serviceName\":\"apsix-apisix-admin\",\"servicePort\":9180}],\"match\":{\"hosts\":[\"local.httpbin.org\"],\"paths\":[\"/*\"]},\"name\":\"httpbin\"}]}}\n"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"apisix.apache.org/v2","time":"2022-11-04T07:41:21Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotation
 s":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:spec":{".":{},"f:http":{}}}}]},"spec":{"http":[{"name":"httpbin","match":{"paths":["/*"],"hosts":["local.httpbin.org"]},"backends":[{"serviceName":"apsix-apisix-admin","servicePort":9180,"weight":null}],"websocket":false,"authentication":{"enable":false,"type":"","keyAuth":{},"jwtAuth":{}}}]},"status":{}}, "old object": {"metadata":{"name":"httpserver-route","namespace":"ingress-apisix","uid":"933ad202-ec65-4852-b6d6-809c8ca473ca","resourceVersion":"146100","generation":4,"creationTimestamp":"2022-11-04T07:41:21Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"apisix.apache.org/v2\",\"kind\":\"ApisixRoute\",\"metadata\":{\"annotations\":{},\"name\":\"httpserver-route\",\"namespace\":\"ingress-apisix\"},\"spec\":{\"http\":[{\"backends\":[{\"serviceName\":\"apsix-apisix-admin\",\"servicePort\":9180}],\"match\":{\"hosts\":[\"local.httpbin.org\"],\"paths\":[\"/*\"]},\"name\":\"h
 ttpbin\"}]}}\n"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"apisix.apache.org/v2","time":"2022-11-04T07:41:21Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:spec":{".":{},"f:http":{}}}},{"manager":"___go_build_github_com_apache_apisix_ingress_controller","operation":"Update","apiVersion":"apisix.apache.org/v2","time":"2022-11-04T07:47:46Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:conditions":{}}}}]},"spec":{"http":[{"name":"httpbin","match":{"paths":["/*"],"hosts":["local.httpbin.org"]},"backends":[{"serviceName":"apsix-apisix-admin","servicePort":9180,"weight":null}],"websocket":false,"authentication":{"enable":false,"type":"","keyAuth":{},"jwtAuth":{}}}]},"status":{"conditions":[{"type":"ResourcesAvailable","status":"True","observedGeneration":4,"lastTransitionTime":null,"reason":"ResourcesSynced","message":"Sync Successfully"}]
 }}}
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org