diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2018-04-26 12:45:23 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-04-26 12:45:23 +0100 |
commit | 8ea267f417eba6fb4883b7b95610005253eac6ae (patch) | |
tree | 56d60bc5f1dc845ab29bbb95ba30e33b00776659 | |
parent | 899e97966bdd1484063360c7b1bdb03a005ed7fb (diff) | |
download | sos-8ea267f417eba6fb4883b7b95610005253eac6ae.tar.gz |
[Plugin] log forbidden paths
We currently log when skipping a path that is on the forbidden
list, but unlike command output and copy specs, we do not log
the registration of the path glob.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index ef41b611..a018472d 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -474,6 +474,7 @@ class Plugin(object): forbidden = [self.join_sysroot(f) for f in forbidden] for forbid in forbidden: + self._log_info("adding forbidden path '%s'" % forbid) for path in glob.glob(forbid): self.forbidden_paths.append(path) |