summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog/src/changelog.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/changelog/src/changelog.c')
-rw-r--r--xlators/features/changelog/src/changelog.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xlators/features/changelog/src/changelog.c b/xlators/features/changelog/src/changelog.c
index df8172765d7..7429fc5e891 100644
--- a/xlators/features/changelog/src/changelog.c
+++ b/xlators/features/changelog/src/changelog.c
@@ -2359,13 +2359,16 @@ reconfigure (xlator_t *this, dict_t *options)
if (active_now) {
if (!active_earlier) {
+ gf_log (this->name, GF_LOG_INFO,
+ "Changelog enable: Creating new "
+ "HTIME.TSTAMP file");
if (gettimeofday(&tv, NULL) ) {
gf_log (this->name, GF_LOG_ERROR,
"unable to fetch htime");
ret = -1;
goto out;
}
- htime_open(this, priv, tv.tv_sec);
+ htime_create (this, priv, tv.tv_sec);
}
ret = changelog_spawn_helper_threads (this, priv);
}