summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r--cli/src/cli.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index 5f734d8e8f2..59782b42db2 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -218,7 +218,7 @@ glusterfs_ctx_defaults_init (glusterfs_ctx_t *ctx)
/* parsing command line arguments */
cmd_args->log_file = "/dev/stderr";
- cmd_args->log_level = GF_LOG_NORMAL;
+ cmd_args->log_level = GF_LOG_NONE;
INIT_LIST_HEAD (&cmd_args->xlator_options);
@@ -524,6 +524,9 @@ main (int argc, char *argv[])
if (ret)
goto out;
+ ret = cli_cmd_cond_init ();
+ if (ret)
+ goto out;
ret = event_dispatch (ctx->event_pool);