# /etc/logrotate.d/ClusterTools2
#
/var/log/lsof.log {
    compress
    dateext
    maxage 365
    rotate 99
    size +20M
    notifempty
    missingok
    copytruncate
}
#
/var/log/meminfo.log {
    compress
    dateext
    maxage 365
    rotate 99
    size +2M
    notifempty
    missingok
    copytruncate
}
#
/var/log/psaux.log {
    compress
    dateext
    maxage 365
    rotate 99
    size +4M
    notifempty
    missingok
    copytruncate
}
#
/var/log/xmstat.log {
    compress
    dateext
    maxage 365
    rotate 99
    size +2M
    notifempty
    missingok
    copytruncate
}
#
/var/log/cs_stresscib.log {
    compress
    dateext
    maxage 365
    rotate 99
    size +4M
    notifempty
    missingok
    copytruncate	
}
# 
# Example for SAP HANA log backup. Please adapt to your needs.
# See also cron.d.
# /hana/shared/<SID>/HDB<nr>/backup/log/log_backup_*[0-9][0-9][0-9] {
#    su <sid>adm sapsys
#    firstaction
#    find /hana/shared/<SID>/HDB<nr>/backup/log/log_backup_* -mtime 7 -exec rm {} \;
#    endscript
#    rotate 0
#    maxage 5
#    size 0
#    ifempty
#    compress
#    nodateext
#    nocreate
#    nocopy
#    nocopytruncate
#    noshred
#    nomail
#}
#
# Example for SAP HANA traces. Please adapt to your needs.
# See also cron.d.
# /hana/shared/<SID>/HDB<nr>/<host>/trace/*.trc {
#    su <sid>adm sapsys 
#    rotate 0
#    maxage 99
#    size 0
#    ifempty
#    compress
#    nodateext
#    nocreate
#    delaycompress 
#    noshred
#    nomail
#}
#
