diff options
author | Frank Ch. Eigler <fche@redhat.com> | 2020-01-22 15:27:59 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 2020-01-22 15:27:59 -0500 |
commit | c406e5d82700cf87db8eae1f642b3c453b174372 (patch) | |
tree | fdbc158fabade4fdf027cfa6ebb0c79105853681 | |
parent | 55b05fded2c74a83db5ef7cd570b0924277dbffb (diff) | |
download | elfutils-c406e5d82700cf87db8eae1f642b3c453b174372.tar.gz |
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>
-rw-r--r-- | debuginfod/ChangeLog | 5 | ||||
-rw-r--r-- | debuginfod/debuginfod.cxx | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog index 83b94a11..8c97fdcf 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 05372764..623dbc59 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; } |