Don't compress log help files.

* modules/openstack_project/files/log_archive_maintenance.sh: The
log compression script no longer attempts to compress files stored
in the help subdirectory of the site document root.

Change-Id: I1db1dead0608c10b71dd3d91c1fedc2d7cc06926
Reviewed-on: https://review.openstack.org/34263
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
Jeremy Stanley 2013-06-24 21:17:04 +00:00 committed by Jenkins
parent 63ded79644
commit fa1930aaf9

View File

@ -4,6 +4,7 @@ flock -n /var/run/gziplogs.lock \
find /srv/static/logs/ -depth \
\( \
\( -type f -not -name robots.txt -not -name \*.gz \
-not -wholename /srv/static/logs/help/\* \
\( -name \*.txt -or -name \*.html -or -name tmp\* \) \
-exec gzip \{\} \; \) \
-o \( -type f -mtime +183 -name \*.gz -execdir rm \{\} \; \) \