Bonjour, j'ai un petit problème pour faire fonctionner logrotate, voila mon fichier de conf, il me semble correct, je comprend plus :
# keep 4 weeks worth of backlogs
rotate 4
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
compress
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}
# system-specific logs may be also be configured here.
/var/log/lastlog {
monthly
rotate 2
# compress
}
/usr/local/apache/logs/access_log {
weekly
rotate 4
}
/var/log/messages {
weekly
rotate 4
# compress
mail admin@visentin-web.net
errors admin@visentin-web.net
}
/var/log/maillog {
monthly
rotate 4
# compess
}
Si quelqu'un pouvait me dire ce qui ne va pas,
Merci.