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

No log rotation hapens on Windows

    XMLWordPrintable

    Details

    • 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.

        Attachments

          Activity

            People

            Assignee:
            ak Andrejs Kozlovs
            Reporter:
            ak Andrejs Kozlovs
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: