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
(cherry picked from commit f3a8c9314c)
This commit is contained in:
yatinkarel 2020-02-11 17:31:07 +05:30 committed by yatin
parent 68027ae86f
commit 481da8ec63
1 changed files with 0 additions and 6 deletions

View File

@ -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
@ -276,8 +275,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 {} \+