From f3a8c9314c926b79770c59de03e3369ed338c2fd Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Tue, 11 Feb 2020 17:31:07 +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: I480391556e809b9d2f2bc693453f0fff2be9b0ab --- copy_logs.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/copy_logs.sh b/copy_logs.sh index e8c742861..8a09441e0 100755 --- a/copy_logs.sh +++ b/copy_logs.sh @@ -113,7 +113,6 @@ if [ -f /tmp/openstack/tempest/testrepository.subunit ] ; then for f in testrepository.subunit testr_results.html; do sudo cp /tmp/openstack/tempest/$f $LOG_DIR/$f - sudo gzip -9 $LOG_DIR/$f done fi @@ -281,8 +280,3 @@ fi if [ -d $SCRIPT_DIR/hiera ]; then mv $SCRIPT_DIR/hiera $LOG_DIR fi - -# Compress all text logs -sudo find $LOG_DIR -iname '*.txt' -type f -execdir gzip -9 {} \+ -sudo find $LOG_DIR -iname '*.dat' -type f -execdir gzip -9 {} \+ -sudo find $LOG_DIR -iname '*.conf' -type f -execdir gzip -9 {} \+