pandorafms/pandora_server/util/pandora_logrotate

60 lines
983 B
Plaintext

/var/log/pandora/pandora_agent.log
/var/log/pandora/pandora_server.log
/var/log/pandora/web_socket.log
/var/log/pandora/pandora_server.error {
weekly
missingok
size 300000
rotate 3
maxage 90
compress
notifempty
copytruncate
}
# DEBIAN / UBUNTU
/var/www/pandora_console/log/console.log {
weekly
missingok
size 100000
rotate 3
maxage 15
compress
notifempty
create 644 www-data www-data
}
# OpenSUSE, SLES
/srv/www/htdocs/pandora_console/log/console.log {
weekly
missingok
size 100000
rotate 3
maxage 15
compress
notifempty
create 644 wwwrun www
}
# Centos, Redhat, Fedora
/var/www/html/pandora_console/log/console.log {
weekly
missingok
size 100000
rotate 3
maxage 15
compress
notifempty
create 644 apache root
}
/var/log/pandora/pandora_snmptrap.log {
weekly
missingok
size 500000
rotate 1
maxage 30
notifempty
copytruncate
}