summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index f7934ef7346..e675581ed2c 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -978,8 +978,8 @@ glusterd_volume_start_glusterfs (glusterd_volinfo_t *volinfo,
exp_path);
brickinfo->logfile = gf_strdup (logfile);
} else if (!brickinfo->logfile) {
- snprintf (logfile, PATH_MAX, "%s/logs/bricks/%s.log",
- priv->workdir, exp_path);
+ snprintf (logfile, PATH_MAX, "%s/bricks/%s.log",
+ DEFAULT_LOG_FILE_DIRECTORY, exp_path);
brickinfo->logfile = gf_strdup (logfile);
}
@@ -1745,7 +1745,7 @@ glusterd_nfs_server_start ()
goto out;
}
- snprintf (logfile, PATH_MAX, "%s/logs/nfs.log", priv->workdir);
+ snprintf (logfile, PATH_MAX, "%s/nfs.log", DEFAULT_LOG_FILE_DIRECTORY);
snprintf (cmd_str, 8192,
"%s/sbin/glusterfs -f %s -p %s -l %s",