Skip to content

Commit 469bba0

Browse files
nokute78edsiper
authored andcommitted
out_loki: change log level to suppress 200-205 status log (#3363)
Signed-off-by: Takahiro Yamashita <[email protected]>
1 parent e858af6 commit 469bba0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

plugins/out_loki/loki.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,14 +1140,14 @@ static void cb_loki_flush(const void *data, size_t bytes,
11401140
}
11411141
else {
11421142
if (c->resp.payload) {
1143-
flb_plg_info(ctx->ins, "%s:%i, HTTP status=%i\n%s",
1144-
ctx->tcp_host, ctx->tcp_port,
1145-
c->resp.status, c->resp.payload);
1143+
flb_plg_debug(ctx->ins, "%s:%i, HTTP status=%i\n%s",
1144+
ctx->tcp_host, ctx->tcp_port,
1145+
c->resp.status, c->resp.payload);
11461146
}
11471147
else {
1148-
flb_plg_info(ctx->ins, "%s:%i, HTTP status=%i",
1149-
ctx->tcp_host, ctx->tcp_port,
1150-
c->resp.status);
1148+
flb_plg_debug(ctx->ins, "%s:%i, HTTP status=%i",
1149+
ctx->tcp_host, ctx->tcp_port,
1150+
c->resp.status);
11511151
}
11521152
}
11531153
}

0 commit comments

Comments
 (0)