diff options
author | shishir gowda <shishirng@gluster.com> | 2010-11-15 06:44:44 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-11-15 04:49:43 -0800 |
commit | 961fc917e8e9f13b8cab69b1ba11767d5c41a8ce (patch) | |
tree | 8464b7b964181cb6f2dfcde915683d68e3811c09 /xlators/mgmt/glusterd | |
parent | b552465ca4a8d65650cb1d0beb4ccfe5eaf93c26 (diff) |
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 <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
Diffstat (limited to 'xlators/mgmt/glusterd')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-handler.c | 4 |
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 b6fbd5641..ab0a6831f 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; } |