[collectd] [colletcd] how to split/rotate the logfile
vbartoni at gmail.com
Mon Feb 15 18:56:19 CET 2016
any reason for not using logrotate?
On 14 February 2016 at 16:30, 何爽 <hshopeful at gmail.com> wrote:
> hi, all
> I have been used collectd for some times, I set the logfile plugin as
> LoadPlugin logfile
> <Plugin logfile>
> LogLevel info
> File "/var/log/collectd.log"
> Timestamp true
> PrintSeverity true
> I found a problem: the size of the log file("/var/log/collectd.log")
> reached to 2GB.
> I wonder whether there is some way to split/rotate the log file when its
> size reaches to 50MB
> Any answers will be appreciated.
> collectd mailing list
> collectd at verplant.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the collectd