You should be able to change the rollover policy to hourly in log4j as well.
On 06/03/13 3:46 PM, "Prasanna Santhanam" <t...@apache.org> wrote: >On Wed, Mar 06, 2013 at 01:44:11PM +0530, wenbing yu wrote: >> The log in the management server is very large,so how can I clean up >> the /var/log/cloud/management/management-server.log but it do not >>effect >> the running of cloudstack? > >Ideally the log will rollover daily. If you don't care what's in there >you can wipe it out even when the service is running: > >$ cat /dev/null > /var/log/cloud/management/management-server.log > >-- >Prasanna.,