diff options
-rw-r--r-- | sos/plugins/__init__.py | 2 | ||||
-rw-r--r-- | sos/sosreport.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index 7c63631c..8df430d8 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -488,7 +488,7 @@ class Plugin(object): self.soslog.warning("command '%s' timed out after %ds" % (prog, timeout)) if status == 127: - self.soslog.warning("could not run '%s': command not found" % prog) + self.soslog.info("could not run '%s': command not found" % prog) return (status, output, runtime) def call_ext_prog(self, prog, timeout=300): diff --git a/sos/sosreport.py b/sos/sosreport.py index 4b525727..0faa3642 100644 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -659,6 +659,7 @@ class SoSReport(object): flog.setLevel(logging.DEBUG) elif self.opts.verbosity and self.opts.verbosity > 0: console.setLevel(logging.INFO) + flog.setLevel(logging.DEBUG) else: console.setLevel(logging.WARNING) self.soslog.addHandler(console) |