From 158067c2980c440f73d23b616bb204ca82f0bfa2 Mon Sep 17 00:00:00 2001 From: Satnam Singh Date: Fri, 7 Nov 2014 02:44:19 -0800 Subject: [PATCH] Make the Fluentd/Elasticsearch logging robust to log rotation --- contrib/logging/fluentd-es-image/td-agent.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/logging/fluentd-es-image/td-agent.conf b/contrib/logging/fluentd-es-image/td-agent.conf index 69c130333ef..4b3b543dc89 100644 --- a/contrib/logging/fluentd-es-image/td-agent.conf +++ b/contrib/logging/fluentd-es-image/td-agent.conf @@ -38,7 +38,7 @@ format json time_key time path /var/lib/docker/containers/*/*-json.log - pos /var/lib/docker/containers/*/*-json.log.pos + pos_file /var/lib/docker/containers/*/*-json.log.pos time_format %Y-%m-%dT%H:%M:%S tag docker.container.*