X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flibcollectdclient%2Fcollectd%2Fclient.h;h=47462a6ba7884b70385f45d1e275cfed064448e6;hb=e1d4681088e33d3ec256c296dff4dbaeb70b883a;hp=ac26b848e0cbec863f21aaf59a34cef495a0cc2f;hpb=23faf977688c7123d624b2911e69e2c9f4d0f78c;p=collectd.git diff --git a/src/libcollectdclient/collectd/client.h b/src/libcollectdclient/collectd/client.h index ac26b848..47462a6b 100644 --- a/src/libcollectdclient/collectd/client.h +++ b/src/libcollectdclient/collectd/client.h @@ -29,6 +29,13 @@ #include "lcc_features.h" +/* COLLECTD_TRACE is the environment variable used to control trace output. When + * set to something non-zero, all lines sent to / received from the daemon are + * printed to STDOUT. */ +#ifndef LCC_TRACE_ENV +# define LCC_TRACE_ENV "COLLECTD_TRACE" +#endif + /* * Includes (for data types) */