From 20d8938fe948c4bbfedd6b68b59a543e8b2baaca Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Wed, 17 Feb 2021 22:41:15 +0100 Subject: [apache] skip collecting pulp* logs Since these are collected in the pulp plugin directly. Resolves: #2413 Signed-off-by: Pavel Moravec Signed-off-by: Jake Hunsaker --- sos/report/plugins/apache.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sos/report/plugins/apache.py b/sos/report/plugins/apache.py index b1b366b5..38635a7f 100644 --- a/sos/report/plugins/apache.py +++ b/sos/report/plugins/apache.py @@ -29,9 +29,12 @@ class Apache(Plugin): "apachectl -t" ]) - # The foreman plugin collects these files with a greater size limit: + # The foreman and pulp plugins collect these files; # do not collect them here to avoid collisions in the archive paths. - self.add_forbidden_path("/var/log/{}*/foreman*".format(self.apachepkg)) + self.add_forbidden_path([ + "/var/log/{}*/foreman*".format(self.apachepkg), + "/var/log/{}*/pulp*".format(self.apachepkg) + ]) class RedHatApache(Apache, RedHatPlugin): -- cgit