[Openstack] [OpenStack] [Swift] How to set maximum size of the log file?

2017-02-07 Thread Alexandr Porunov
Hello, I found out that my log file is almost 3GB. How to set a size limit? Best regards, Alexandr ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.ope

Re: [Openstack] [OpenStack] [Swift] How to set maximum size of the log file?

2017-02-07 Thread Matthew Oliver
The logs should be manged via syslog, so you can just use log rotate to rotate on time or size, keep x number of copies and compress rotated versions. On Wed, Feb 8, 2017 at 6:49 AM, Alexandr Porunov wrote: > Hello, > > I found out that my log file is almost 3GB. How to set a size limit? > > Bes