This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
committed patch: debuginfod diagnostic verbosity tweak
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: elfutils-devel at sourceware dot org
- Date: Wed, 22 Jan 2020 15:30:39 -0500
- Subject: committed patch: debuginfod diagnostic verbosity tweak
Hi -
Pushed as trivial:
commit c406e5d82700cf87db8eae1f642b3c453b174372 (HEAD -> master)
Author: Frank Ch. Eigler <fche@redhat.com>
Date: Wed Jan 22 15:27:59 2020 -0500
debuginfod: diagnostics verbosity tweak
marxin reported "skipping hat= .... empty comp_dir" messages
were too chatty for the journnal.
Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog
index 83b94a1108a6..8c97fdcf7085 100644
--- a/debuginfod/ChangeLog
+++ b/debuginfod/ChangeLog
@@ -1,3 +1,8 @@
+2020-01-22 Frank Ch. Eigler <fche@redhat.com>
+
+ * debuginfod.cxx (dwarf_extract_source_paths): Don't print
+ "skipping hat" messages at verbosity <=3, too noisy.
+
2020-01-19 Frank Ch. Eigler <fche@redhat.com>
* debuginfod.cxx (scanq): Rework to let groomer/fts threads
diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx
index 053727642caa..623dbc593c70 100644
--- a/debuginfod/debuginfod.cxx
+++ b/debuginfod/debuginfod.cxx
@@ -1695,7 +1695,8 @@ dwarf_extract_source_paths (Elf *elf, set<string>& debug_sourcefiles)
waldo = (string (comp_dir) + string("/") + string (hat));
else
{
- obatched(clog) << "skipping hat=" << hat << " due to empty comp_dir" << endl;
+ if (verbose > 3)
+ obatched(clog) << "skipping hat=" << hat << " due to empty comp_dir" << endl;
continue;
}