[all-commits] [llvm/llvm-project] 686d8a: [clangd] Add index server request logging

Sam McCall via All-commits all-commits at lists.llvm.org
Wed Nov 11 14:58:44 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 686d8a0911de7d9b13617c5aef66f6cebde05d5b
      https://github.com/llvm/llvm-project/commit/686d8a0911de7d9b13617c5aef66f6cebde05d5b
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-11-11 (Wed, 11 Nov 2020)

  Changed paths:
    M clang-tools-extra/clangd/index/remote/server/Server.cpp
    M clang-tools-extra/clangd/test/remote-index/pipeline_helper.py
    A clang-tools-extra/clangd/test/remote-index/public-log.test

  Log Message:
  -----------
  [clangd] Add index server request logging

- Add verbose logging of payloads
- Add public logging of request summaries
- fix non-logging of messages in request scopes (oops!)
- add test for public/non-public logging, extending pipeline_helper a bit.

We've accumulated quite a lot of duplication in the request handlers by now.
I should factor that out, but not in this patch...

Differential Revision: https://reviews.llvm.org/D90654




More information about the All-commits mailing list