diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2021-05-24 15:44:31 +0200 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-05-24 13:49:16 -0400 |
commit | 90bde1afe9c1dd5811eee66fa10ee7e16e4d3f3a (patch) | |
tree | 4cab5d266d3a2872cedb67818575cf3748306dee | |
parent | bbb7f8bf522960a8ca7625f539e9e5d109abb704 (diff) | |
download | sos-90bde1afe9c1dd5811eee66fa10ee7e16e4d3f3a.tar.gz |
[foreman] Follow sizelimit to foreman maintain and installer logs
Specifying add_copy_spec to a directory means all files from the
directory are collected. That is ridiculous for foremain-installer and
namely foreman-maintain logs, where we should stick to the size limit by
default. Hence collect files from the dir "specifically".
Resolves: #2554
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r-- | sos/report/plugins/foreman.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/report/plugins/foreman.py b/sos/report/plugins/foreman.py index c3044836..d428eeed 100644 --- a/sos/report/plugins/foreman.py +++ b/sos/report/plugins/foreman.py @@ -101,8 +101,8 @@ class Foreman(Plugin): "/var/log/foreman-proxy/smart_proxy_dynflow_core*log*", "/var/log/foreman-selinux-install.log", "/var/log/foreman-proxy-certs-generate*", - "/var/log/foreman-installer/", - "/var/log/foreman-maintain/", + "/var/log/foreman-installer/*", + "/var/log/foreman-maintain/*", "/var/log/syslog*", "/usr/share/foreman/Gemfile*", "/var/lib/puppet/ssl/certs/ca.pem", |