ccoffline edited a comment on issue #6529:
URL: 
https://github.com/apache/incubator-doris/issues/6529#issuecomment-912273946


   Extend logging for BE may be like this
   
   ```cpp
   // unstructured logging, output 'here is an info for a query, queryId=xxx'
   LOG(INFO) << "here is an info for a query, queryId=" << queryId;
   // structured logging, output custom log format, like 'here is an info for a 
query {"queryId":"xxx"}'
   TAG(LOG(INFO)).tag("queryId", queryId).log("here is an info for a query");
   ```


-- 
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: commits-unsubscr...@doris.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to