From e99432a366b681bf98e4766488df5352ecbf26e0 Mon Sep 17 00:00:00 2001 From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de> Date: Tue, 30 Jul 2019 12:38:23 +0200 Subject: [PATCH] Log zabbix-agent to file again LogType=console fails, since it requires the process to run in the foreground. For now, log to a file again. --- 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 dd866dd..bdf69e5 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=console +LogType=file ### Option: LogFile # Log file name for LogType 'file' parameter. @@ -29,7 +29,7 @@ LogType=console # 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