From 961fc917e8e9f13b8cab69b1ba11767d5c41a8ce Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Mon, 15 Nov 2010 06:44:44 +0000 Subject: Remove symlnk of log dir to /etc/glusterd Hence forth the default log dir will be /usr/local/var/log/glusterfs Missed out on log locate changes Signed-off-by: shishir gowda Signed-off-by: Anand V. Avati BUG: 2109 (Remove symbolic link of log directory from /etc/glusterd) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2109 --- xlators/mgmt/glusterd/src/glusterd-handler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index b6fbd564137..ab0a6831f5f 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -1700,8 +1700,8 @@ glusterd_handle_log_locate (rpcsvc_request_t *req) rsp.path = dirname (tmp_str); found = 1; } else { - snprintf (tmp_str, PATH_MAX, "%s/logs/bricks/", - priv->workdir); + snprintf (tmp_str, PATH_MAX, "%s/bricks/", + DEFAULT_LOG_FILE_DIRECTORY); rsp.path = tmp_str; found = 1; } -- cgit