cpp: debugging LogTsdb