wu-sheng commented on pull request #50:
URL: https://github.com/apache/skywalking-nodejs/pull/50#issuecomment-839746627


   > Setting logging functions to no-ops when logging level indicates since the 
logging module seems to be stringifying everything which is sent to it 
regardless of logging level set, which led to up to 2x performance hit in 
extreme case of very simple endpoints.
   
   Personally, not about this PR, I think in the future, nodejs/python could 
adopt log service rather than span's log, which Java agent has done as log gRPC 
reporter. In there, you still could have all context and collaboration between 
tracing and logging, but as log could be sent as soon as possible separately, 
it has much better performance.
   Of course, follow the log level makes sense. And should consider 
dynamic-configuration feature implementation in the agent to change the 
behavior dynamically.


-- 
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:
[email protected]


Reply via email to