]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
debuginfod: diagnostics verbosity tweak
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 22 Jan 2020 20:27:59 +0000 (15:27 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 22 Jan 2020 20:27:59 +0000 (15:27 -0500)
marxin reported "skipping hat= .... empty comp_dir" messages
were too chatty for the journnal.

Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
debuginfod/ChangeLog
debuginfod/debuginfod.cxx

index 83b94a1108a654f6eebae4dd456dd42d6419a7f5..8c97fdcf708552c4990641e6d532ecc2a3ab9cbb 100644 (file)
@@ -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
index 053727642caa3d45b3b3afacefda995645ff4b3c..623dbc593c70106fcdc0d4699d1e0acc55eadd83 100644 (file)
@@ -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;
            }