Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/flb_input_chunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ size_t flb_input_chunk_set_limits(struct flb_input_instance *in)
if (in->p->cb_resume) {
flb_input_resume(in);
flb_info("[input] %s resume (mem buf overlimit)",
in->name);
flb_input_name(in));
}
}
if (flb_input_chunk_is_storage_overlimit(in) == FLB_FALSE &&
Expand All @@ -1286,7 +1286,7 @@ size_t flb_input_chunk_set_limits(struct flb_input_instance *in)
if (in->p->cb_resume) {
flb_input_resume(in);
flb_info("[input] %s resume (storage buf overlimit %zu/%zu)",
in->name,
flb_input_name(in),
((struct flb_storage_input *)in->storage)->cio->total_chunks_up,
((struct flb_storage_input *)in->storage)->cio->max_chunks_up);
}
Expand All @@ -1305,7 +1305,7 @@ static inline int flb_input_chunk_protect(struct flb_input_instance *i)

if (flb_input_chunk_is_storage_overlimit(i) == FLB_TRUE) {
flb_warn("[input] %s paused (storage buf overlimit %zu/%zu)",
i->name,
flb_input_name(i),
storage->cio->total_chunks_up,
storage->cio->max_chunks_up);
flb_input_pause(i);
Expand All @@ -1332,7 +1332,7 @@ static inline int flb_input_chunk_protect(struct flb_input_instance *i)
* it limit, just pause the ingestion.
*/
flb_warn("[input] %s paused (mem buf overlimit)",
i->name);
flb_input_name(i));
flb_input_pause(i);
i->mem_buf_status = FLB_INPUT_PAUSED;
return FLB_TRUE;
Expand Down Expand Up @@ -1521,7 +1521,7 @@ static int input_chunk_append_raw(struct flb_input_instance *in,
/* Check if the input plugin has been paused */
if (flb_input_buf_paused(in) == FLB_TRUE) {
flb_debug("[input chunk] %s is paused, cannot append records",
in->name);
flb_input_name(in));
return -1;
}

Expand Down Expand Up @@ -1659,7 +1659,7 @@ static int input_chunk_append_raw(struct flb_input_instance *in,

if (ret == -1) {
flb_error("[input chunk] error writing data from %s instance",
in->name);
flb_input_name(in));
cio_chunk_tx_rollback(ic->chunk);

return -1;
Expand Down
Loading