summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-07-27 14:49:07 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-27 19:39:40 -0700
commit9460675a921d504a31088b0e0f42143cc7f2a56f (patch)
tree30e00eeb0f42da671d778df73a014483ae931ea7 /cli/src/cli.c
parent26cc6b015bb29f942194d1ca2a3dd21d5483d829 (diff)
DVM: Changes in CLI output
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1220 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1220
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);