mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 18:43:26 +01:00
All (almost) files belonging to the systemvm aer now centralize in the systemvm directory. The code for the separate functions is still in the services directory. This will make the code easier to understand and makes it clear that the systemvm is a separate item. It alos means that it can be excluded from the build entirely by not adding the systemvm profile, this will speed up the compiles somewhat.
26 lines
498 B
Plaintext
26 lines
498 B
Plaintext
# rotate log files daily
|
|
daily
|
|
# keep 5 days worth
|
|
rotate 5
|
|
# create new (empty) log files after rotating old ones
|
|
create
|
|
# use date as a suffix of the rotated file
|
|
dateext
|
|
# max size 50M
|
|
size 50M
|
|
# RPM packages drop log rotation information into this directory
|
|
include /etc/logrotate.d
|
|
# no packages own wtmp and btmp -- we'll rotate them here
|
|
/var/log/wtmp {
|
|
monthly
|
|
create 0664 root utmp
|
|
rotate 1
|
|
}
|
|
/var/log/btmp {
|
|
missingok
|
|
monthly
|
|
create 0600 root utmp
|
|
rotate 1
|
|
}
|
|
|