cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musayev, Ilya" <imusa...@webmd.net>
Subject RE: [ACS41] Catalana.out needs log rotate
Date Tue, 23 Apr 2013 03:59:36 GMT
This should work, and we can make it part of RPM/DEB builds.

1. Create this file
/etc/logrotate.d/tomcat

 2. Copy the following contents into the above file
/var/log/cloudstack/management/catalina.out { 
copytruncate 
daily 
rotate 7 
compress 
missingok 
size 5M 
}

-----Original Message-----
From: Musayev, Ilya [mailto:imusayev@webmd.net] 
Sent: Monday, April 22, 2013 11:53 PM
To: Kelven Yang; dev@cloudstack.apache.org
Subject: RE: [ACS41] Catalana.out needs log rotate

In that case, we can use native system log rotate daemon.

If no objections, I can take this on.


-----Original Message-----
From: Kelven Yang [mailto:kelven.yang@citrix.com]
Sent: Monday, April 22, 2013 9:08 PM
To: dev@cloudstack.apache.org; Musayev, Ilya
Subject: Re: [ACS41] Catalana.out needs log rotate

For log4j log files, we are using the rotation facility offered by log4j.
catalina.out may be a problem here, I think it is created in using shell redirection

Kelven

On 4/22/13 5:34 PM, "Musayev, Ilya" <imusayev@webmd.net> wrote:

>Catalana.out on a lightly used demo ACS41 is 166mb in size in less than
>2 weeks old implementation running on centos6.3
>
>How does log rotate  work?  Would anyone know if we are using Linux 
>based log rotate or some other engine?
>
>Thanks
>Ilya






Mime
View raw message