I was going through the code in Diags.cc and I saw that if debug logging is on, ATS calls vfprintf in the thread that handles the client request. E.g. https://github.com/apache/trafficserver/blob/master/src/tscore/Diags.cc#L301
Is this a good idea? Or is the assumption that if you have turned on debug logging you make this trade off? -- pushkar