Skip to content

Commit

Permalink
remove testing log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
braydonk committed Sep 13, 2024
1 parent 756b733 commit 161e834
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/flb_input_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,15 +188,13 @@ static int input_log_append(struct flb_input_instance *ins,
}
}

flb_info("start with buffer size %zu", buf_size);
if (buf_size > FLB_INPUT_CHUNK_FS_MAX_SIZE) {
mk_list_init(&buffers);
start_buffer = new_buffer_entry(buf, buf_size);
split_buffer_entry(start_buffer, &buffers);
flb_free(start_buffer);
mk_list_foreach_safe(head, tmp, &buffers) {
iter_buffer = mk_list_entry(head, struct buffer_entry, _head);
flb_info("appending buf size %zu", iter_buffer->buf_size);
records = flb_mp_count(iter_buffer->buf, iter_buffer->buf_size);
ret = flb_input_chunk_append_raw(ins, FLB_INPUT_LOGS, records,
tag, tag_len, iter_buffer->buf, iter_buffer->buf_size);
Expand Down

0 comments on commit 161e834

Please sign in to comment.