diff options
Diffstat (limited to 'glusterfsd')
-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); |