From cabb9890ac8ef4ac3bf7b048122c1720584b439a Mon Sep 17 00:00:00 2001 From: Mik Vyatskov Date: Wed, 15 Feb 2017 16:22:29 +0100 Subject: [PATCH] Use docker log rotation mechanism instead of logrotate --- cluster/common.sh | 15 +++++++++++++++ cluster/gce/gci/configure-helper.sh | 20 +++++--------------- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/cluster/common.sh b/cluster/common.sh index 6b10215097..bcbab751ab 100755 --- a/cluster/common.sh +++ b/cluster/common.sh @@ -705,6 +705,21 @@ EOF if [ -n "${DOCKER_TEST_LOG_LEVEL:-}" ]; then cat >>$file <>$file <>$file <>$file </etc/logrotate.d/docker-containers < /etc/default/docker if [[ "${use_net_plugin}" == "true" ]]; then