Details
-
Type:
Problem report
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 3.0.28
-
Fix Version/s: 4.0.15rc1, 4.4.2rc1, 5.0.0alpha1, 5.0 (plan)
-
Component/s: Agent (G)
-
Labels:None
-
Team:Team A
-
Sprint:Sprint 58 (Nov 2019)
-
Story Points:1
Description
When stdout is redirected to log-file on Windows agent than this file is locked forever. There is no possible to make no external rotation (e.g. simple renaming) neither rotate it by Zabbix. When agent log-file size exceeds its limit (LogFileSize) the following error message is written:
7620:20191016:161245.245 cannot rename log file "...\zabbix_agentd.log" to "...\zabbix_agentd.log.old": [13] Permission denied 7620:20191016:161245.245 Logfile "...\zabbix_agentd.log" size reached configured limit LogFileSize but moving it to "...\zabbix_agentd.log.old" failed. The logfile was truncated.