summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/changelog/src/changelog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/features/changelog/src/changelog.c b/xlators/features/changelog/src/changelog.c
index d6d8fa01de0..ce343af0270 100644
--- a/xlators/features/changelog/src/changelog.c
+++ b/xlators/features/changelog/src/changelog.c
@@ -2983,12 +2983,14 @@ struct volume_options options[] = {
.type = GF_OPTION_TYPE_PATH,
.description = "brick path to generate unique socket file name."
" should be the export directory of the volume strictly.",
+ .default_value = "{{ brick.path }}",
.op_version = {3},
.tags = {"journal"}
},
{.key = {"changelog-dir"},
.type = GF_OPTION_TYPE_PATH,
.description = "directory for the changelog files",
+ .default_value = "{{ brick.path }}/.glusterfs/changelogs",
.op_version = {3},
.flags = OPT_FLAG_SETTABLE,
.tags = {"journal", "georep", "glusterfind"}