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

zabbix_web_service.log not rotate (typo)

XMLWordPrintable

    • Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023)
    • 0.5

      zabbix_web_service.log not rotated.

      • /etc/zabbix/zabbix_web_service.conf
        ### Option: LogFile
        #	Log file name for LogType 'file' parameter.
        #
        # Mandatory: yes, if LogType is set to file, otherwise no
        # Default:
        # LogFile=/tmp/zabbix_web_service.log
        
        LogFile=/var/log/zabbix/zabbix_web_service.log  <-- here!
        
        ### Option: LogFileSize
        
      • /etc/logrotate.d/zabbix-web-service
        /var/log/zabbix/zabbix_web-service.log {  <-- here!
        	weekly
        	rotate 12
        	compress
        	delaycompress
        	missingok
        	notifempty
        	create 0664 zabbix zabbix
        }
        

      The underscore "_" and hyphen "-" in the file name are different.

            yurii Jurijs Klopovskis
            kazuo.ito Kazuo Ito
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: