Code

write_graphite plugin: Adding LogSendErrors boolean flag
authorJ. Javier Maestro <jjmaestro@ieee.org>
Mon, 3 Jun 2013 17:24:38 +0000 (19:24 +0200)
committerJ. Javier Maestro <jjmaestro@ieee.org>
Mon, 3 Jun 2013 17:29:12 +0000 (19:29 +0200)
commitfa1a863f0803cc5c6fec5ba3adf31a836121295d
treef262fd8af3f1cdb112e1b9241c492d97fc658c08
parent0d537d56273b8be19dd87b3ec933de575fa2e558
write_graphite plugin: Adding LogSendErrors boolean flag

Sometimes we don't want to hog the syslog with errors that are produced
when the graphite server is down.

Especially for UDP, we want to be able to truly fire-and-forget
(remember to monitor UDP packet receipt failures though :) and having
errors written to the syslog is a burden that should be avoided.
src/write_graphite.c