You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/06/14 07:43:12 UTC

[GitHub] [skywalking] hanahmily commented on issue #7112: Add debug services(GraphQL) in query protocol

hanahmily commented on issue #7112:
URL: https://github.com/apache/skywalking/issues/7112#issuecomment-859955784


   @wu-sheng and I discussed this solution a few weeks ago. After that, an auto-config log4j gives more help than dynamic statistics. . We should promise to change the logging level on the fly since rebooting OAP would cover up the problems.
   
   The reason is :
   
   1. Logging has more details than metrics, which will give our users more flexible paths to investigate issues. 
   2. Logging would use fewer resources than specific metrics with some turn-on/off switches. 
   
   For this issue, if the ALS-related debugs logging is active, the user will leverage `grep` and `wc` to filter and statistic objects they want. We might provide some instruments about how to statistic the key metrics, or enhancement `swctl` to handle logs. 
   
   Future more, log4j has provided some ways to implement [auto-config](https://logging.apache.org/log4j/2.x/manual/customconfig.html). We will not have to introduce any new APIs. 


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

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