Article 4T024 logrotate

logrotate

by
yangyiin
from LinuxQuestions.org on (#4T024)
hi,
ls -l /var/log/yum*
-rw-------. 1 root root 53 Oct 22 05:12 /var/log/yum.log
-rw-------. 1 root root 4208 Oct 18 10:29 /var/log/yum.log-20191022

why the new log was created after 4 days,knowing that the rotate time is after 1 week?can a system crash or other thing to determ the creation of a new log?
more /etc/logrotate.conf
weekly

more /etc/logrotate.d/yum
/var/log/yum.log {
missingok
notifempty
maxsize 30k
yearly
create 0600 root root
}latest?d=yIl2AUoC8zA latest?i=Xa5fYIt7kjY:L1LDkEJ86j0:F7zBnMy latest?i=Xa5fYIt7kjY:L1LDkEJ86j0:V_sGLiP latest?d=qj6IDK7rITs latest?i=Xa5fYIt7kjY:L1LDkEJ86j0:gIN9vFwXa5fYIt7kjY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments