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 098ae58c62
)
This commit is contained in:
parent
4f907e26cc
commit
4d4f78c2a1
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue