Merge "Add a suffix for tmpwatch"

This commit is contained in:
Zuul 2019-07-17 13:29:58 +00:00 committed by Gerrit Code Review
commit cce33e878b
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ outputs:
-X "/var/log/containers/*/*log" \
-X "/var/log/containers/*/*/*log" \
-X "/var/log/containers/*/*err" \
{{ LogrotatePurgeAfterDays|int +1 }} \
{{ LogrotatePurgeAfterDays|int +1 }}d \
/var/log/containers/ 2>&1 | logger -t container-tmpwatch
vars:
LogrotatePurgeAfterDays: {get_param: LogrotatePurgeAfterDays}