cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjeev Neelarapu <sanjeev.neelar...@citrix.com>
Subject RE: Review Request: CS-15048: Log rotation functionality in system VMs is broken resuting in 100% of disk space getting consumed.
Date Thu, 12 Jul 2012 09:18:30 GMT
Is this applicable to Virtual Router as well?

-----Original Message-----
From: Saksham Srivastava [mailto:noreply@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

Mime
View raw message