summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2015-03-20 11:22:50 +0530
committerKrishnan Parthasarathi <kparthas@redhat.com>2015-03-26 00:17:36 -0700
commitc8e095765c5ef72df9979f917b1b8e66cd8d0115 (patch)
tree2a1a474fd45a67e42a8c54ed3ff5fac6263bdbaf /cli/src/cli.c
parent7cd58994262d2d622c1533c6f7a905106a1cf197 (diff)
cli: log gluster version in cli init
Change-Id: I4994043d303212da795c76867a7ee4355d318a8c Signed-off-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-on: http://review.gluster.org/9951 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r--cli/src/cli.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index 66aa5858cf6..9b1ed87c1e7 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -706,6 +706,9 @@ main (int argc, char *argv[])
if (ret)
goto out;
+ gf_log ("cli", GF_LOG_INFO, "Started running %s with version %s",
+ argv[0], PACKAGE_VERSION);
+
global_rpc = cli_rpc_init (&state);
if (!global_rpc)
goto out;