From: Frank Ch. Eigler Date: Wed, 22 Jan 2020 20:27:59 +0000 (-0500) Subject: debuginfod: diagnostics verbosity tweak X-Git-Tag: elfutils-0.179~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c406e5d82700cf87db8eae1f642b3c453b174372;p=thirdparty%2Felfutils.git debuginfod: diagnostics verbosity tweak marxin reported "skipping hat= .... empty comp_dir" messages were too chatty for the journnal. Signed-off-by: Frank Ch. Eigler --- diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog index 83b94a110..8c97fdcf7 100644 --- a/debuginfod/ChangeLog +++ b/debuginfod/ChangeLog @@ -1,3 +1,8 @@ +2020-01-22 Frank Ch. Eigler + + * debuginfod.cxx (dwarf_extract_source_paths): Don't print + "skipping hat" messages at verbosity <=3, too noisy. + 2020-01-19 Frank Ch. Eigler * debuginfod.cxx (scanq): Rework to let groomer/fts threads diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx index 053727642..623dbc593 100644 --- a/debuginfod/debuginfod.cxx +++ b/debuginfod/debuginfod.cxx @@ -1695,7 +1695,8 @@ dwarf_extract_source_paths (Elf *elf, set& 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; }