From c4a321062c793c0fd8f0a6e9a3fa476556707d60 Mon Sep 17 00:00:00 2001 From: Guillaume Gardet Date: Thu, 30 May 2024 11:12:25 +0200 Subject: [PATCH] Upload audit.log in post_fail_hook --- lib/Utils/Logging.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Utils/Logging.pm b/lib/Utils/Logging.pm index e2360698491d..47f8240478e6 100644 --- a/lib/Utils/Logging.pm +++ b/lib/Utils/Logging.pm @@ -205,6 +205,9 @@ sub export_logs { if ($utils::IN_ZYPPER_CALL) { upload_solvertestcase_logs(); } + + my $audit_log = "/var/log/audit/audit.log"; + upload_logs("$audit_log", failok => 1); } =head2 problem_detection