Hallo,
logrotate soll eine Datei überwachen, die u.U. schnell wächst. Darum starte ich logrotate /etc/logrotate.d/test stündlich via cron.
logrotate -v zeigt:Code:/var/log/test.log { su root root compress dateext maxage 3 rotate 9 size 10M notifempty missingok copytruncate postrotate chmod 666 /var/log/test.log endscript }
error: destination /var//log/test.log-20140910.gz already exists, skipping rotation
Wie kann man das Problem lösen?
[update]: ich habe das dateext entfernt
Lesezeichen