summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-05-31 06:39:41 +0000
committerAnand Avati <avati@gluster.com>2011-05-31 09:10:49 -0700
commit756c7aea3fef2a77b13ed731ab202c5426db3768 (patch)
treefc517552fdeaac3bdf08932c411d20a914ecc71e /libglusterfs
parent753f17aca63057e4c4a70c1f3cbf7729f890cb69 (diff)
glusterfsd: prevent giving '-s' option without '--volfile-id' option
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2934 (for glusterfs binary, -s option without --volfile-id will fail without any notice to user) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2934
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/logging.c b/libglusterfs/src/logging.c
index 550aadef1..a492ac450 100644
--- a/libglusterfs/src/logging.c
+++ b/libglusterfs/src/logging.c
@@ -52,7 +52,7 @@ static gf_loglevel_t loglevel = GF_LOG_INFO;
static int gf_log_syslog = 1;
char gf_log_xl_log_set;
-gf_loglevel_t gf_log_loglevel; /* extern'd */
+gf_loglevel_t gf_log_loglevel = GF_LOG_INFO; /* extern'd */
FILE *gf_log_logfile;
static char *cmd_log_filename = NULL;