From 8a55e625c1cfee6ae72c3853701d899cd20b655f Mon Sep 17 00:00:00 2001
From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de>
Date: Thu, 1 Aug 2019 20:04:59 +0200
Subject: [PATCH] Log zabbix-agent to syslog (journal)

---
 zabbix-agent/templates/zabbix_agentd.conf.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/zabbix-agent/templates/zabbix_agentd.conf.j2 b/zabbix-agent/templates/zabbix_agentd.conf.j2
index bdf69e5..ae3829d 100644
--- a/zabbix-agent/templates/zabbix_agentd.conf.j2
+++ b/zabbix-agent/templates/zabbix_agentd.conf.j2
@@ -20,7 +20,7 @@ PidFile=/var/run/zabbix/zabbix_agentd.pid
 #
 # Mandatory: no
 # Default:
-LogType=file
+LogType=system
 
 ### Option: LogFile
 #	Log file name for LogType 'file' parameter.
@@ -29,7 +29,7 @@ LogType=file
 # Default:
 # LogFile=
 
-LogFile=/var/log/zabbix/zabbix_agentd.log
+#LogFile=/var/log/zabbix/zabbix_agentd.log
 
 ### Option: LogFileSize
 #	Maximum size of log file in MB.
-- 
GitLab