diff options
-rw-r--r-- | sos/report/plugins/apache.py | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/sos/report/plugins/apache.py b/sos/report/plugins/apache.py index 838c393b..1ee263c6 100644 --- a/sos/report/plugins/apache.py +++ b/sos/report/plugins/apache.py @@ -29,11 +29,21 @@ class Apache(Plugin): "apachectl -t" ]) - # The foreman and pulp plugins collect these files; + # Other plugins collect these files; # do not collect them here to avoid collisions in the archive paths. + subdirs = [ + 'aodh', + 'ceilometer', + 'cinder', + 'foreman', + 'horizon', + 'keystone', + 'nova', + 'placement', + 'pulp' + ] self.add_forbidden_path([ - "/var/log/{}*/foreman*".format(self.apachepkg), - "/var/log/{}*/pulp*".format(self.apachepkg) + "/var/log/%s*/%s*" % (self.apachepkg, sub) for sub in subdirs ]) |