[collectd] [colletcd] how to split/rotate the logfile
何爽
hshopeful at gmail.com
Sun Feb 14 15:30:49 CET 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20160214/6909e20e/attachment.html>
More information about the collectd
mailing list