aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodolfo Olivieri <rolivier@redhat.com>2021-10-25 09:04:06 -0300
committerJake Hunsaker <jhunsake@redhat.com>2021-10-27 10:17:58 -0400
commitf827192424f2a4b9b390816c10b08dff658e0d74 (patch)
tree2f94038fde7fea57d4a9a2facf83123ed2570d36
parent63d75133e6a9b4a59c10fb876244cdfa7d06570b (diff)
downloadsos-f827192424f2a4b9b390816c10b08dff658e0d74.tar.gz
[convert2rhel] Add archived log collection
Convert2RHEL will now archive old logs to maintain the sake of simplicity, and for that, we are including the archive directory to be collected as well. Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
-rw-r--r--sos/report/plugins/convert2rhel.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/report/plugins/convert2rhel.py b/sos/report/plugins/convert2rhel.py
index 74d6d40e..a786f3c2 100644
--- a/sos/report/plugins/convert2rhel.py
+++ b/sos/report/plugins/convert2rhel.py
@@ -21,7 +21,8 @@ class convert2rhel(Plugin, RedHatPlugin):
self.add_copy_spec([
"/var/log/convert2rhel/convert2rhel.log",
- "/var/log/convert2rhel/rpm_va.log"
+ "/var/log/convert2rhel/archive/convert2rhel-*.log",
+ "/var/log/convert2rhel/rpm_va.log",
])