diff options
author | yatipadia <ypadia@redhat.com> | 2019-12-04 12:09:12 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@gmail.com> | 2020-01-14 17:06:38 +0000 |
commit | dc5b2d3c181020da1644106e5b17f77a4f3e53df (patch) | |
tree | 66b261e1061c0db0fe6b1f3c1dfa4e835beb472a /xlators/features/changelog/src/changelog-helpers.h | |
parent | 830a3dc46438b1cf18bcd35cca05c164e77180f1 (diff) |
xlator/changelog: structure logging
convert all gf_msg() to gf_smsg()
Change-Id: I2303aeaa0775b663e2ea5741166a457cd747d2ac
Updates: #657
Signed-off-by: yatipadia <ypadia@redhat.com>
Signed-off-by: yatip <ypadia@redhat.com>
Diffstat (limited to 'xlators/features/changelog/src/changelog-helpers.h')
-rw-r--r-- | xlators/features/changelog/src/changelog-helpers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/changelog/src/changelog-helpers.h b/xlators/features/changelog/src/changelog-helpers.h index 256c4fd9c00..0906b164a78 100644 --- a/xlators/features/changelog/src/changelog-helpers.h +++ b/xlators/features/changelog/src/changelog-helpers.h @@ -672,8 +672,8 @@ resolve_pargfid_to_path(xlator_t *this, const uuid_t gfid, char **path, #define CHANGELOG_NOT_ON_THEN_GOTO(priv, ret, label) \ do { \ if (!priv->active) { \ - gf_msg(this->name, GF_LOG_WARNING, 0, CHANGELOG_MSG_NOT_ACTIVE, \ - "Changelog is not active, return success"); \ + gf_smsg(this->name, GF_LOG_WARNING, 0, \ + CHANGELOG_MSG_CHANGELOG_NOT_ACTIVE, NULL); \ ret = 0; \ goto label; \ } \ |