I am using log rotate but somehow logs are not being cleared after 90 days which is configuration of my aerospike. Also logs are growing exponentially.
Configuration of log-rotate:
/var/log/aerospike/aerospike.log {
daily
rotate 90
dateext
compress
olddir /var/log/aerospike/
postrotate
kill -HUP `cat /var/run/aerospike/asd.pid`
endscript }
Configuration of aerospike :
logging {
file /var/log/aerospike/aerospike.log {
context any info
context migrate debug
}
}