Browse Source

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)
changes/68/709968/1
yatinkarel 4 months ago
parent
commit
4d4f78c2a1
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      tools/copy-logs.sh

+ 0
- 6
tools/copy-logs.sh View File

@@ -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…
Cancel
Save