From c657ead4f25148d7f6dd5825ae11c29827ed3201 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Tue, 11 Feb 2020 13:04:37 +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: Ieb1577f859d388a0f326cb6933c953f486dfca15 Co-Authored-By: Michal Nasiadka --- roles/kayobe-diagnostics/files/get_logs.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/roles/kayobe-diagnostics/files/get_logs.sh b/roles/kayobe-diagnostics/files/get_logs.sh index c564f14a6..1b7e1fe73 100644 --- a/roles/kayobe-diagnostics/files/get_logs.sh +++ b/roles/kayobe-diagnostics/files/get_logs.sh @@ -98,8 +98,6 @@ copy_logs() { done chmod -R 777 ${LOG_DIR} - find ${LOG_DIR}/{system_logs,kolla,docker_logs} -iname '*.txt' -execdir gzip -f -9 {} \+ - find ${LOG_DIR}/{system_logs,kolla,docker_logs} -iname '*.json' -execdir gzip -f -9 {} \+ } copy_logs