diff options
author | Amitay Isaacs <amitay@gmail.com> | 2018-04-17 22:15:41 +1000 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2018-05-12 15:01:32 +0200 |
commit | fcda17cb42f3384c62d81903e364e8ddb4ce217d (patch) | |
tree | ff3b7a2d77f3eba6ede0fbde230ff07d0cf6f524 /ctdb/common | |
parent | 8f97c17df20af9f70b173d7ebb484197e2538587 (diff) | |
download | samba-fcda17cb42f3384c62d81903e364e8ddb4ce217d.tar.gz |
ctdb-tools: Add logging config options to config tool
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Sat May 12 15:01:32 CEST 2018 on sn-devel-144
Diffstat (limited to 'ctdb/common')
-rw-r--r-- | ctdb/common/conf_tool.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/common/conf_tool.c b/ctdb/common/conf_tool.c index 108cf67b651..1ee4b027de7 100644 --- a/ctdb/common/conf_tool.c +++ b/ctdb/common/conf_tool.c @@ -28,6 +28,8 @@ #include "common/conf.h" #include "common/path.h" +#include "common/logging_conf.h" + #include "common/conf_tool.h" struct conf_tool_context { @@ -233,6 +235,7 @@ int conf_tool_run(struct conf_tool_context *ctx, int *result) } /* Call functions to initialize config sections/variables */ + logging_conf_init(ctx->conf, NULL); if (! conf_valid(ctx->conf)) { D_ERR("Failed to define configuration options\n"); |