X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fplugin.c;h=11a0ef6eadbada45aad092f7116c879aeef9dfdd;hb=8d2f2ffd15ac83343aae58c82577b929e2e5f4ab;hp=5d882e64de7e69f47b47c53eeb7e63e4adea1045;hpb=beb06e98c5aea9272c5972eee372b42c6abdd2b0;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)