From 3cc42834d0c5f393c89953e70a8318b1cc58af05 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Thu, 12 Mar 2020 12:32:34 +0000 Subject: [PATCH] Stop gzipping logs in get-logs.sh As per [1] we should stop compressing the logs sent to swift in order to get them back readable via a browser. [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-January/011875.html Change-Id: I1b1cc4bb5a4b10388028232818b89d370ff63e7a --- roles/tenks-diagnostics/files/get_logs.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/roles/tenks-diagnostics/files/get_logs.sh b/roles/tenks-diagnostics/files/get_logs.sh index 0858673..157daa6 100644 --- a/roles/tenks-diagnostics/files/get_logs.sh +++ b/roles/tenks-diagnostics/files/get_logs.sh @@ -50,8 +50,6 @@ copy_logs() { done chmod -R 777 ${LOG_DIR} - find ${LOG_DIR}/{system_logs,libvirt_logs} -iname '*.txt' -execdir gzip -f -9 {} \+ - find ${LOG_DIR}/{system_logs,libvirt_logs} -iname '*.json' -execdir gzip -f -9 {} \+ } copy_logs