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
This commit is contained in:
parent
a56fe5a96b
commit
f3a8c9314c
@ -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 {} \+
|
||||
|
Loading…
x
Reference in New Issue
Block a user