diff --git a/src/helper/log.c b/src/helper/log.c index f3872b541..b49c9af94 100644 --- a/src/helper/log.c +++ b/src/helper/log.c @@ -295,12 +295,6 @@ void log_exit(void) log_output = NULL; } -int set_log_output(struct command_context *cmd_ctx, FILE *output) -{ - log_output = output; - return ERROR_OK; -} - /* add/remove log callback handler */ int log_add_callback(log_callback_fn fn, void *priv) { diff --git a/src/helper/log.h b/src/helper/log.h index da1e652df..ee71bf03f 100644 --- a/src/helper/log.h +++ b/src/helper/log.h @@ -62,7 +62,6 @@ __attribute__ ((format (PRINTF_ATTRIBUTE_FORMAT, 5, 6))); */ void log_init(void); void log_exit(void); -int set_log_output(struct command_context *cmd_ctx, FILE *output); int log_register_commands(struct command_context *cmd_ctx);