Skip to content

Commit

Permalink
Upload audit log in post_fail_hook
Browse files Browse the repository at this point in the history
  • Loading branch information
rfan1 committed Feb 8, 2025
1 parent da05c77 commit 55885b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Utils/Logging.pm
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ sub export_logs {
upload_solvertestcase_logs();
}

my $audit_log = "/var/log/audit/audit.txt";
my $audit_log = "/var/log/audit/audit_log.txt";
script_run("cp /var/log/audit/audit.log $audit_log");
upload_logs("$audit_log", failok => 1);
}

Expand Down

0 comments on commit 55885b1

Please sign in to comment.