public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* committed patch: debuginfod diagnostic verbosity tweak
@ 2020-01-22 20:30 Frank Ch. Eigler
  0 siblings, 0 replies; only message in thread
From: Frank Ch. Eigler @ 2020-01-22 20:30 UTC (permalink / raw)
  To: elfutils-devel

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;
            }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-22 20:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22 20:30 committed patch: debuginfod diagnostic verbosity tweak Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).