X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fplugin.c;h=24e5e01e7bb06ceb1e12f1a45881a16505bd761a;hb=00a87614c6652bf67be9d717dc4ef9efd703f552;hp=6fb75206a686cecebafc78b91389901d892e1f75;hpb=3ddd3791fefa478d770aba82303ec6a1913874fc;p=collectd.git diff --git a/src/plugin.c b/src/plugin.c index 6fb75206..24e5e01e 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -1424,7 +1424,12 @@ void plugin_log (int level, const char *format, ...) llentry_t *le; if (list_log == NULL) + { + va_start (ap, format); + vfprintf (stderr, format, ap); + va_end (ap); return; + } #if !COLLECT_DEBUG if (level >= LOG_DEBUG)