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/03/04 02:50:14 UTC

[GitHub] [apisix-ingress-controller] tao12345666333 opened a new issue #899: Unified structured log (Gin)

tao12345666333 opened a new issue #899:
URL: https://github.com/apache/apisix-ingress-controller/issues/899


   Currently our logs are not fully structured, there is some log output from Gin[1] that looks like this:
   
   ```
   2022-03-04T10:12:05+08:00 debug ingress/controller.go:699 success check health for default cluster
   [GIN] 2022/03/04 - 10:12:06 | 200 | 79.201µs | 10.244.1.1 | GET "/healthz"
   [GIN] 2022/03/04 - 10:12:06 | 200 | 79.101µs | 10.244.1.1 | GET "/healthz"
   2022-03-04T10:13:30+08:00       debug   ingress/controller.go:699       success check health for default cluster
   ```
   
   However, such logs are not structured and are not conducive to our subsequent log collection.
   We need to improve it.
   
   [1]: https://github.com/gin-gonic/gin


-- 
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



[GitHub] [apisix-ingress-controller] Belyenochi commented on issue #899: Unified structured log (Gin)

Posted by GitBox <gi...@apache.org>.
Belyenochi commented on issue #899:
URL: https://github.com/apache/apisix-ingress-controller/issues/899#issuecomment-1058778124


   @tao12345666333  pls assign it to me.


-- 
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



[GitHub] [apisix-ingress-controller] tao12345666333 closed issue #899: Unified structured log (Gin)

Posted by GitBox <gi...@apache.org>.
tao12345666333 closed issue #899:
URL: https://github.com/apache/apisix-ingress-controller/issues/899


   


-- 
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



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #899: Unified structured log (Gin)

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #899:
URL: https://github.com/apache/apisix-ingress-controller/issues/899#issuecomment-1058778445


   Thanks! Assigned 


-- 
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