out_syslog: register upstream with instance
@@ -885,6 +885,7 @@ static int cb_syslog_init(struct flb_output_instance *ins, struct flb_config *co
flb_syslog_config_destroy(ctx);
return -1;
}
+ flb_output_upstream_set(ctx->u, ins);
}
/* Set the plugin context */
