summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-handler.c')
-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;
}