summaryrefslogtreecommitdiffstats
path: root/cli/src
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-03-16 09:39:21 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-17 11:57:39 -0700
commitabc2a6b0b91a82bb59327cd2a4ca72b8954e1425 (patch)
tree5c2e73211332d2ba431d17600fdc936f434da15c /cli/src
parentca6528592eed88ff1598b25f1aaa1c99c14a2e32 (diff)
glusterfsd: log enhancement
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 2346 (Log message enhancements in GlusterFS - phase 1) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2346
Diffstat (limited to 'cli/src')
-rw-r--r--cli/src/cli.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index ef88d04201f..d6c801967f9 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -247,8 +247,7 @@ logging_init (glusterfs_ctx_t *ctx)
cmd_args = &ctx->cmd_args;
if (gf_log_init (cmd_args->log_file) == -1) {
- fprintf (stderr,
- "failed to open logfile %s. exiting\n",
+ fprintf (stderr, "ERROR: failed to open logfile %s\n",
cmd_args->log_file);
return -1;
}