Currently I didn't find log4j configuration file on virtual router so it should not be applicable to Virtual Router.The bug and the fixes are particular to Secondary storage VM and Console proxy VM.

Thanks,
Saksham

On Thursday 12 July 2012 02:48 PM, Sanjeev Neelarapu wrote:
Is this applicable to Virtual Router as well?

-----Original Message-----
From: Saksham Srivastava [mailto:nore...@reviews.apache.org] On Behalf Of 
Saksham Srivastava
Sent: Wednesday, July 11, 2012 3:53 PM
To: Saksham Srivastava; cloudstack
Subject: Re: Review Request: CS-15048: Log rotation functionality in system VMs 
is broken resuting in 100% of disk space getting consumed.


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5907/
-----------------------------------------------------------

(Updated July 11, 2012, 10:23 a.m.)


Review request for cloudstack.


Description (updated)
-------

Changes done: Modified log4j.xml to restrict the growing of file size depending 
upon the total size.Defaulting it to 10MB for each log file and keeping a 
maximum backup of 4 files.
(Path for the log files and rotation policy was not configured correctly).


Diffs
-----

   build/deploy/production/server/conf/log4j-cloud.xml 1b56396

Diff: https://reviews.apache.org/r/5907/diff/


Testing
-------

Tested the same changes on log4j-cloud.xml config file present in the system 
vms.Verified the 3 files /var/log/cloud.log,  /var/log/cloud/cloud.out and 
/usr/local/cloud/systemvm/cloud.log
were rotated correctly.


Thanks,

Saksham Srivastava



Reply via email to