Skip to content

Commit

Permalink
lib: fix trace messages
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Mar 18, 2016
1 parent 426248a commit 4257339
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/flb_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ int flb_start(flb_ctx_t *ctx)
}

if (val == FLB_ENGINE_STARTED) {
flb_debug(config, "[lib] backend started");
flb_debug("[lib] backend started");
break;
}
}
Expand All @@ -239,11 +239,11 @@ int flb_stop(flb_ctx_t *ctx)
mk_rconf_free(ctx->config->file);
}

flb_debug(ctx->config, "[lib] sending STOP signal to the engine");
flb_debug("[lib] sending STOP signal to the engine");
val = FLB_ENGINE_STOP;
write(ctx->config->ch_manager[1], &val, sizeof(uint64_t));
ret = pthread_join(ctx->config->worker, NULL);

flb_debug(ctx->config, "[lib] Fluent Bit engine stopped");
flb_debug("[lib] Fluent Bit engine stopped");
return ret;
}

0 comments on commit 4257339

Please sign in to comment.