summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-rpc-ops.c6
-rw-r--r--cli/src/cli-xml-output.c2
-rw-r--r--cli/src/cli.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index f86fa63f68d..1d8cf23ff42 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -861,7 +861,7 @@ out:
free (rsp.op_errstr);
- gf_log ("cli", GF_LOG_INFO, "Returning: %d", ret);
+ gf_log ("cli", GF_LOG_DEBUG, "Returning: %d", ret);
return ret;
}
@@ -1010,7 +1010,7 @@ out:
cli_cmd_broadcast_response (ret);
free (rsp.dict.dict_val);
- gf_log ("", GF_LOG_INFO, "Returning with %d", ret);
+ gf_log ("", GF_LOG_DEBUG, "Returning with %d", ret);
return ret;
}
@@ -1148,7 +1148,7 @@ out:
if (dict)
dict_unref (dict);
- gf_log ("", GF_LOG_INFO, "Returning with %d", ret);
+ gf_log ("", GF_LOG_DEBUG, "Returning with %d", ret);
return ret;
}
diff --git a/cli/src/cli-xml-output.c b/cli/src/cli-xml-output.c
index aacce140946..dcce53901f4 100644
--- a/cli/src/cli-xml-output.c
+++ b/cli/src/cli-xml-output.c
@@ -2856,7 +2856,7 @@ cli_xml_output_vol_info_end (cli_local_t *local)
ret = cli_end_xml_output (local->writer, local->doc);
out:
- gf_log ("cli", GF_LOG_ERROR, "Returning %d", ret);
+ gf_log ("cli", GF_LOG_DEBUG, "Returning %d", ret);
return ret;
#else
return 0;
diff --git a/cli/src/cli.c b/cli/src/cli.c
index 6d9f5f6c158..b33ce950e11 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -455,7 +455,7 @@ cli_state_init (struct cli_state *state)
int ret = 0;
- state->log_level = -1;
+ state->log_level = GF_LOG_NONE;
tree = &state->tree;
tree->state = state;