Re: [QUERY] CLOUDSTACK-6885 Rsyslog not rotating

2014-07-06 Thread Sonal Ojha
Can someone take a look at the recommendation updated in the jira https://issues.apache.org/jira/browse/CLOUDSTACK-6885. Would like to know thoughts on the same. -Sonal On Tue, Jul 1, 2014 at 3:33 PM, Sonal Ojha wrote: > Forgot to mention , the default size defined in the logrotate.conf file

Re: [QUERY] CLOUDSTACK-6885 Rsyslog not rotating

2014-07-01 Thread Sonal Ojha
Forgot to mention , the default size defined in the logrotate.conf file is 50M which is applicable to all the log rotate configuration files. On Tue, Jul 1, 2014 at 3:23 PM, Sonal Ojha wrote: > The configuration for the rsyslog could be modified to add a size > parameter to rotate the file if

Re: [QUERY] CLOUDSTACK-6885 Rsyslog not rotating

2014-07-01 Thread Sonal Ojha
The configuration for the rsyslog could be modified to add a size parameter to rotate the file if a specific size is reached. Modifying the rsyslog configuration under /etc/logrotate.d/ would do the job. Here is what I tried /var/log/mail.info /var/log/mail.warn /var/log/mail.err /var/log/mail.log

[QUERY] CLOUDSTACK-6885 Rsyslog not rotating

2014-06-30 Thread Sonal Ojha
Hello, I am seeing similar issue of rsyslog not rotating on the systemvm. I tried replacing the reload with rotate in the invoke-rc.d, but it didnt seem to work. The only way I could make it work was by the following command logrotate -f /etc/logrotate.d/rsyslog Can you help to know if modifyin