According to 
https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;a=tree;f
=patches/systemvm/debian/config/etc/cron.daily;h=e28877633af747315ca525d866
208bc6f8bfae03;hb=HEAD


All log files in /var/log/cloud that are older than 7 days will be
deleted. 
Logrotate has been configured to roll over other system logs (e.g.,
HAProxy)

On 7/12/12 3:52 AM, "Somesh Naidu" <[email protected]> wrote:

>That's true. Since you don't have any Cloudstack agent/service running on
>the VR you won't find any Cloudstack specific log files on it.
>
>Regards,
>Somesh
>
>
>-----Original Message-----
>From: Saksham Srivastava [mailto:[email protected]]
>Sent: Thursday, July 12, 2012 3:50 PM
>To: Sanjeev Neelarapu
>Cc: [email protected]
>Subject: Re: Review Request: CS-15048: Log rotation functionality in
>system VMs is broken resuting in 100% of disk space getting consumed.
>
>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:[email protected]] 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