The VR logs all configuration actions by using sudo to execute all commands. These get logged to /var/log/auth.log The apache server is used to serve user data and metadata. Apache logs are logged to /var/log/apache2/ HAProxy logging is limited, but it is logged to /var/log/haproxy.log The log rotation configuration for these files can be seen in /etc/logrotate.d/
Chiradeep On 8/10/12 4:34 AM, "Saksham Srivastava" <saksham.srivast...@citrix.com> wrote: >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 [sanjeev.neelar...@citrix.com] >Sent: Friday, August 10, 2012 3:59 PM >To: cloudstack-dev@incubator.apache.org >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