Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-16790

No log rotation hapens on Windows

XMLWordPrintable

    • Sprint 58 (Nov 2019)
    • 1

      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.

            ak Andrejs Kozlovs
            ak Andrejs Kozlovs
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: