diff options
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c index 223ab426531..a0189662201 100644 --- a/xlators/mgmt/glusterd/src/glusterd.c +++ b/xlators/mgmt/glusterd/src/glusterd.c @@ -274,7 +274,8 @@ init (xlator_t *this) gf_log (this->name, GF_LOG_NORMAL, "Using %s as working directory", dirname); - snprintf (cmd_log_filename, PATH_MAX,"%s/.cmd_log_history",dirname); + snprintf (cmd_log_filename, PATH_MAX,"%s/.cmd_log_history", + DEFAULT_LOG_FILE_DIRECTORY); ret = gf_cmd_log_init (cmd_log_filename); if (ret == -1) { |