router: on exception of destination type mismath, use debug instead
@@ -224,16 +224,16 @@ int flb_router_io_set(struct flb_config *config)
if (!flb_router_match_type(i_ins->event_type, o_ins)) {
if (i_ins->event_type == FLB_INPUT_LOGS) {
- flb_error("[router] data generated by %s input are logs, "
+ flb_debug("[router] data generated by %s input are logs, "
"but matching destination plugin %s don't handle "
- "logs",
+ "logs. Skipping destination.",
flb_input_name(i_ins),
flb_output_name(o_ins));
}
else if (i_ins->event_type == FLB_INPUT_METRICS) {
- flb_error("[router] data generated by %s input are metrics, "
+ flb_debug("[router] data generated by %s input are metrics, "
"but matching destination plugin %s don't handle "
- "metrics",
+ "metrics.Skipping destination.",
flb_input_name(i_ins),
flb_output_name(o_ins));
}
