X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fplugin.c;h=11a0ef6eadbada45aad092f7116c879aeef9dfdd;hb=0cc57e3f854e7903d7ec46d8d4b0e46bba4a8739;hp=5d882e64de7e69f47b47c53eeb7e63e4adea1045;hpb=91743fc0c8785f84f3976d5f5d430b1b3a7d4918;p=collectd.git diff --git a/src/plugin.c b/src/plugin.c index 5d882e64..11a0ef6e 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -1444,7 +1444,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)