bab9bb6b69
Create new directories: ceph config config-files filesystem kernel kernel/kernel-modules ldap logging strorage-drivers tools utilities virt Retire directories: connectivity core devtools support extended Delete two packages: tgt irqbalance Relocated packages: base/ dhcp initscripts libevent lighttpd linuxptp memcached net-snmp novnc ntp openssh pam procps sanlock shadow sudo systemd util-linux vim watchdog ceph/ python-cephclient config/ facter puppet-4.8.2 puppet-modules filesystem/ e2fsprogs nfs-utils nfscheck kernel/ kernel-std kernel-rt kernel/kernel-modules/ mlnx-ofa_kernel ldap/ nss-pam-ldapd openldap logging/ syslog-ng logrotate networking/ lldpd iproute mellanox python-ryu mlx4-config python/ python-2.7.5 python-django python-gunicorn python-setuptools python-smartpm python-voluptuous security/ shim-signed shim-unsigned tboot strorage-drivers/ python-3parclient python-lefthandclient virt/ cloud-init libvirt libvirt-python qemu tools/ storage-topology vm-topology utilities/ tis-extensions namespace-utils nova-utils update-motd Change-Id: I37ade764d873c701b35eac5881eb40412ba64a86 Story: 2002801 Task: 22687 Signed-off-by: Scott Little <scott.little@windriver.com>
175 lines
3.3 KiB
Plaintext
175 lines
3.3 KiB
Plaintext
# /etc/logrotate.d/syslog-ng - Provided by syslog-ng-logrotate
|
|
|
|
/var/log/syslog
|
|
/var/log/auth.log
|
|
/var/log/cron.log
|
|
/var/log/daemon.log
|
|
/var/log/daemon-ocf.log
|
|
/var/log/kern.log
|
|
/var/log/lpr.log
|
|
/var/log/mail.log
|
|
/var/log/news.log
|
|
/var/log/user.log
|
|
/var/log/uucp.log
|
|
/var/log/local*.log
|
|
/var/log/postgres.log
|
|
/var/log/postgresql.log
|
|
/var/log/haproxy.log
|
|
/var/log/platform.log
|
|
/var/log/openstack.log
|
|
/var/log/sysinv.log
|
|
/var/log/sysinv-api.log
|
|
/var/log/nfv-vim-api.log
|
|
/var/log/nfv-vim-webserver.log
|
|
/var/log/keystone/*.log
|
|
/var/log/aodh/*.log
|
|
/var/log/murano/*.log
|
|
/var/log/magnum/*.log
|
|
/var/log/horizon.log
|
|
/var/log/ceilometer/*.log
|
|
/var/log/panko/*.log
|
|
/var/log/gnocchi/*.log
|
|
/var/log/ironic/*.log
|
|
/var/log/snmp-api.log
|
|
/var/log/dcmanager/*.log
|
|
/var/log/dcorch/*.log
|
|
{
|
|
nodateext
|
|
size 10M
|
|
start 1
|
|
rotate 20
|
|
missingok
|
|
notifempty
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
|
endscript
|
|
}
|
|
|
|
/var/log/nfv-vim.log
|
|
{
|
|
nodateext
|
|
size 20M
|
|
start 1
|
|
rotate 40
|
|
missingok
|
|
notifempty
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
|
endscript
|
|
}
|
|
|
|
/var/log/cinder/*.log
|
|
{
|
|
nodateext
|
|
size 10M
|
|
start 1
|
|
rotate 20
|
|
missingok
|
|
notifempty
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
|
endscript
|
|
}
|
|
|
|
/var/log/glance/*.log
|
|
{
|
|
nodateext
|
|
size 10M
|
|
start 1
|
|
rotate 20
|
|
missingok
|
|
notifempty
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
|
endscript
|
|
}
|
|
|
|
/var/log/heat/*.log
|
|
{
|
|
nodateext
|
|
size 10M
|
|
start 1
|
|
rotate 20
|
|
missingok
|
|
notifempty
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
|
endscript
|
|
}
|
|
|
|
/var/log/neutron/*.log
|
|
/var/log/nova/*.log
|
|
{
|
|
nodateext
|
|
size 50M
|
|
start 1
|
|
rotate 20
|
|
missingok
|
|
notifempty
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
|
endscript
|
|
}
|
|
|
|
/var/log/collect.log
|
|
/var/log/ldapscripts.log
|
|
/var/log/tuned/tuned.log
|
|
{
|
|
nodateext
|
|
size 10M
|
|
start 1
|
|
rotate 20
|
|
missingok
|
|
notifempty
|
|
compress
|
|
copytruncate
|
|
}
|
|
|
|
/var/log/sm.log
|
|
/var/log/ima.log
|
|
{
|
|
nodateext
|
|
size 50M
|
|
start 1
|
|
rotate 10
|
|
missingok
|
|
notifempty
|
|
compress
|
|
sharedscripts
|
|
postrotate
|
|
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
|
endscript
|
|
}
|
|
|
|
/var/log/bash.log
|
|
{
|
|
nodateext
|
|
size 100M
|
|
start 1
|
|
rotate 20
|
|
missingok
|
|
notifempty
|
|
compress
|
|
sharedscripts
|
|
firstaction
|
|
/usr/bin/logmgmt_prerotate > /dev/null 2>&1 || true
|
|
endscript
|
|
# using lastaction to ensure log file compression succeeds
|
|
lastaction
|
|
service syslog-ng reload > /dev/null 2>&1 || true
|
|
/usr/bin/logmgmt_postrotate > /dev/null 2>&1 || true
|
|
endscript
|
|
}
|