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