-
Problem report
-
Resolution: Fixed
-
Critical
-
5.0.9
-
None
-
Centos 8
-
Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021)
-
0.5
Zabbix agent2 writes to log file /var/log/zabbix/zabbix_agent2.log
Execute command:
mv /var/log/zabbix/zabbix_agent2.log /var/log/zabbix/zabbix_agent2.log.old
The agent2 keeps writing into zabbix_agent2.log.old.
Same thing happens when logrotate moves the file - the agent2 keeps writing to the old file until a restart.
Additionally, it seems that if the file is removed, Zabbix agent2 just stops logging at all, but keeps working.