diff --git a/ctdb/include/ctdb_logging.h b/ctdb/include/ctdb_logging.h index 2444547d0b4..e383f163d72 100644 --- a/ctdb/include/ctdb_logging.h +++ b/ctdb/include/ctdb_logging.h @@ -43,7 +43,6 @@ const char *get_debug_by_level(int32_t level); bool parse_debug(const char *str, int32_t *level); void print_debug_levels(FILE *stream); -void ctdb_log_init_file(void); void ctdb_log_init_syslog(void); #endif /* _CTDB_LOGGING_H_ */ diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 7281acb1157..717316aeaa7 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -1426,4 +1426,8 @@ struct ctdb_log_state *ctdb_vfork_with_logging(TALLOC_CTX *mem_ctx, int ctdb_set_child_logging(struct ctdb_context *ctdb); int ctdb_init_tevent_logging(struct ctdb_context *ctdb); +/* from ctdb_logging_file.c */ + +void ctdb_log_init_file(void); + #endif