summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-11-15 06:44:44 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-11-15 04:49:43 -0800
commit961fc917e8e9f13b8cab69b1ba11767d5c41a8ce (patch)
tree8464b7b964181cb6f2dfcde915683d68e3811c09
parentb552465ca4a8d65650cb1d0beb4ccfe5eaf93c26 (diff)
Remove symlnk of log dir to /etc/glusterdv3.1.1qa7
Hence forth the default log dir will be /usr/local/var/log/glusterfs Missed out on log locate changes Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2109 (Remove symbolic link of log directory from /etc/glusterd) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2109
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c
index b6fbd56..ab0a683 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;
}