Gunthy

GUNBOT: The automatic profit generator => Technical Support & Development => Topic started by: jsam on May 10, 2018, 06:52:13 PM

Title: Log files rotation and size
Post by: jsam on May 10, 2018, 06:52:13 PM
With the new version, I'm getting huge logfiles that are busting my VPS. Before I was using logrotate to keep the files from using all available disk space.
A couple of 500-600 Mb rotated logs per setup folder. Twice now the VPS reached 100% quota.

Can you make it so the logs never leave less than say 5-10% free disk space?
And provide options to manage how rotation is done and the limits?
Title: Re: Log files rotation and size
Post by: @g@t@ on May 11, 2018, 07:48:35 PM
Agree, some control over this could be a great idea! Set limitations etc... or pack it by day ... for history check etc...