mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
* util/pandora_logrotate: Fixed several problems due rotation. Now there is no need to restart any process, much safer. Added correct paths for pandora console log on centos and debian. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
59 lines
963 B
Plaintext
59 lines
963 B
Plaintext
/var/log/pandora/pandora_agent.log
|
|
/var/log/pandora/pandora_server.log
|
|
/var/log/pandora/pandora_server.error {
|
|
weekly
|
|
missingok
|
|
size 300000
|
|
rotate 3
|
|
maxage 90
|
|
compress
|
|
notifempty
|
|
copytruncate
|
|
}
|
|
|
|
# DEBIAN / UBUNTU
|
|
/var/www/pandora_console/pandora_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/pandora_console.log {
|
|
weekly
|
|
missingok
|
|
size 100000
|
|
rotate 3
|
|
maxage 15
|
|
compress
|
|
notifempty
|
|
create 644 wwwrun www
|
|
}
|
|
|
|
# Centos, Redhat, Fedora
|
|
/var/www/html/pandora_console/pandora_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
|
|
}
|