From 06922f43812ff872c53b47cda568ae065df22d0c Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Mon, 27 Jun 2022 17:51:25 +0100 Subject: [PATCH] Exclude /var/log/journal from log collection The binary journals are not portable and we extract text files for the interesting services. Omit these from the log collection. Change-Id: Ic669712f8a1cbfa6bfc8255590f3984034c8643e --- scripts/log-collect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/log-collect.sh b/scripts/log-collect.sh index ec240561a3..1b766fe8ee 100755 --- a/scripts/log-collect.sh +++ b/scripts/log-collect.sh @@ -30,7 +30,7 @@ export ARA_REPORT_TYPE=${ARA_REPORT_TYPE:-"database"} export TESTING_HOME=${TESTING_HOME:-$HOME} export TS=$(date +"%H-%M-%S") -export RSYNC_CMD="rsync --archive --copy-links --ignore-errors --quiet --no-perms --no-owner --no-group --whole-file --inplace" +export RSYNC_CMD="rsync --archive --copy-links --ignore-errors --quiet --no-perms --no-owner --no-group --whole-file --inplace --exclude journal" # NOTE(cloudnull): This is a very simple list of common directories in /etc we # wish to search for when storing gate artifacts. When adding