summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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;
}