Difference between revisions of "Plugin:LogFile"
(Use the "Manpage" template.)
m (Added DEFAULTSORT magic word.)
|Line 31:||Line 31:|
Revision as of 11:31, 20 December 2009
|Callbacks:||config, log, notification|
|Copyright:|| 2007 Sebastian Harl|
2007–2008 Florian octo Forster
|List of Plugins|
The LogFile plugin receives log messages from the daemon and writes them to a text file.
In order for other plugins to be able to report errors and warnings during initialization, the LogFile plugin should be loaded as one of the first plugins, if not as the first plugin. This means that its
LoadPlugin line should be one of the first lines in the configuration file.
LoadPlugin "logfile" <Plugin "logfile"> LogLevel "info" File "/var/log/collectd.log" Timestamp true </Plugin>