From 24ed428f067a08f6cbf7479671035227bb924a98 Mon Sep 17 00:00:00 2001
From: ShunliZhou <slzhou@fiberhome.com>
Date: Fri, 21 Apr 2017 17:36:15 +0800
Subject: [PATCH] Remove symlink from fluentd global conf

As the logrotate will create new filename with timestamp, fluentd
with symlink will staled when restart fluentd and can not set
permission on the old file.

Remove symlink from the global conf.

Change-Id: I404868d5b5077b9f2135e37605421bc84717f9d3
Closes-Bug: #1685170
---
 ansible/roles/common/templates/conf/output/00-local.conf.j2 | 2 --
 1 file changed, 2 deletions(-)

diff --git a/ansible/roles/common/templates/conf/output/00-local.conf.j2 b/ansible/roles/common/templates/conf/output/00-local.conf.j2
index 0b2f470169..bbff09c225 100644
--- a/ansible/roles/common/templates/conf/output/00-local.conf.j2
+++ b/ansible/roles/common/templates/conf/output/00-local.conf.j2
@@ -3,7 +3,6 @@
   <store>
     @type file
     path /var/log/kolla/swift/swift_latest.*.log
-    symlink_path /var/log/kolla/swift/swift_latest.log
     utc
     append true
     compress gzip
@@ -25,7 +24,6 @@
   <store>
     @type file
     path /var/log/kolla/haproxy/haproxy_latest.*.log
-    symlink_path /var/log/kolla/haproxy/haproxy_latest.log
     output_tag false
     output_time false
     utc