Virtual Router does not have CloudStack agent running on it, the logs on VR are
not handled the way they are on other system VMs (i.e. using log4j)
Currently running: logrotate -f -v /etc/logrotate.conf on the VR shows it does
not handle /var/log/cloud.log
To enable a sample logrotation add the following to logrotate.conf :
/var/log/cloud.log {
rotate 5
size=1000k
}
I expect by default there is no policy defined for logrotation on VR for
CloudStack logs.
Thanks,
Saksham
________________________________________
From: Sanjeev Neelarapu [[email protected]]
Sent: Friday, August 10, 2012 3:59 PM
To: [email protected]
Subject: log rotation policy on VR
Hi,
It has been seen that logs on VR are not preserved. However /etc/logrotate.conf
says it is daily.
Please let me know the log rotation policy for /var/logs on VR.
Thanks,
Sanjeev