diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2017-02-03 22:13:02 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-02-21 12:11:13 +0000 |
commit | f8167a4426e7427fcbd687b82ab64f8632560e09 (patch) | |
tree | b09588a1897f181810e67ab92b38f8ea1df5f36b | |
parent | c0e5674b1aec848f402f294ee3606a467483a805 (diff) | |
download | sos-f8167a4426e7427fcbd687b82ab64f8632560e09.tar.gz |
[pcp] delete three warn logs
Statements of the logs are evident from the plugin's code, therefore the
logs are redundant. Esp. on warn level.
Resolves: #923
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r-- | sos/plugins/pcp.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sos/plugins/pcp.py b/sos/plugins/pcp.py index 3cdf96a5..64adeb16 100644 --- a/sos/plugins/pcp.py +++ b/sos/plugins/pcp.py @@ -131,13 +131,6 @@ class Pcp(Plugin, RedHatPlugin, DebianPlugin): if self.pcplog_totalsize == 0 or dirsize < max_mb_size: if os.path.isdir(path): self.add_copy_spec(path) - else: - self._log_warn("%s not found" % path) - else: - self._log_warn("skipped %s. Size %d bigger than %d" - % (path, dirsize, max_mb_size)) - else: - self._log_warn("pcp_hostname was not set. Skipping.") self.add_copy_spec([ # Collect PCP_LOG_DIR/pmcd and PCP_LOG_DIR/NOTICES |