any reason for not using logrotate?
On 14 February 2016 at 16:30, 何爽 <[email protected]> wrote:
> hi, all
> I have been used collectd for some times, I set the logfile plugin as
> follows:
>
> LoadPlugin logfile
> <Plugin logfile>
> LogLevel info
> File "/var/log/collectd.log"
> Timestamp true
> PrintSeverity true
> </Plugin>
>
> 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.
> Thanks
>
>
> _______________________________________________
> collectd mailing list
> [email protected]
> http://mailman.verplant.org/listinfo/collectd
>
>
_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd