mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Adding logrotate file
Adding logrotate file for salt logs
This commit is contained in:
parent
0989d01e0f
commit
323de1e833
1 changed files with 39 additions and 0 deletions
39
pkg/rpm/logrotate.salt
Normal file
39
pkg/rpm/logrotate.salt
Normal file
|
@ -0,0 +1,39 @@
|
|||
/var/log/salt/master {
|
||||
weekly
|
||||
missingok
|
||||
rotate 5
|
||||
compress
|
||||
notifempty
|
||||
}
|
||||
|
||||
/var/log/salt/minion {
|
||||
weekly
|
||||
missingok
|
||||
rotate 5
|
||||
compress
|
||||
notifempty
|
||||
}
|
||||
|
||||
/var/log/salt/key {
|
||||
weekly
|
||||
missingok
|
||||
rotate 5
|
||||
compress
|
||||
notifempty
|
||||
}
|
||||
|
||||
/var/log/salt/cloud {
|
||||
weekly
|
||||
missingok
|
||||
rotate 5
|
||||
compress
|
||||
notifempty
|
||||
}
|
||||
|
||||
/var/log/salt/ssh {
|
||||
weekly
|
||||
missingok
|
||||
rotate 5
|
||||
compress
|
||||
notifempty
|
||||
}
|
Loading…
Add table
Reference in a new issue