diff options
author | Harshavardhana Ranganath <harsha@gluster.com> | 2009-11-12 04:06:04 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-13 09:33:14 -0800 |
commit | 410909f31704db212174dff874f71621c3cb0576 (patch) | |
tree | 520e8677904298b38adfb96a08c0dd50f01f04b4 /glusterfsd/src/glusterfsd.c | |
parent | adebbb2ba19e52b194a4050c2e43a6c92f19c605 (diff) |
Disabled centralized logging by default.
Signed-off-by: Harshavardhana <harsha@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 366 (Infinite loop with centralized logging.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=366
Diffstat (limited to 'glusterfsd/src/glusterfsd.c')
-rw-r--r-- | glusterfsd/src/glusterfsd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index 0399d1124..32c882a60 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -1368,12 +1368,10 @@ main (int argc, char *argv[]) return -1; } + if (cmd_args->log_server) { gf_log_central_init (ctx, cmd_args->log_server, "socket", cmd_args->log_server_port); - } else if (cmd_args->volfile_server) { - gf_log_central_init (ctx, cmd_args->volfile_server, - "socket", cmd_args->volfile_server_port); } event_dispatch (ctx->event_pool); |