From 4d4f78c2a1213f54fdd5ba72b67efe59bb9a425e Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Tue, 25 Feb 2020 17:41:45 +0530 Subject: [PATCH] Remove explicit compress of log files Explicit compress is not needed post [1], explicit compress is making log files not browsable. [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-January/011875.html Change-Id: Id6e285e37759aadae9ebf27522d3145b77a6d691 (cherry picked from commit 098ae58c6228419280a005073cd41af292b88344) --- tools/copy-logs.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/copy-logs.sh b/tools/copy-logs.sh index 27dce39f7..9b73b7db3 100755 --- a/tools/copy-logs.sh +++ b/tools/copy-logs.sh @@ -147,12 +147,6 @@ function ensure_log_properties { $SUDO mv ${file} ${file}.txt fi done - - echo "Compressing all text files..." - # Compress all files - $FIND -iname '*.txt' -execdir gzip -f -9 {} \+ - - echo "Compressed log and configuration can be found in ${LOGDIR}." } function recover_default_logs {