summaryrefslogtreecommitdiffstats
path: root/xlators/meta
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/meta')
-rw-r--r--xlators/meta/src/loglevel-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/meta/src/loglevel-file.c b/xlators/meta/src/loglevel-file.c
index f9c5a993d73..4399da2c948 100644
--- a/xlators/meta/src/loglevel-file.c
+++ b/xlators/meta/src/loglevel-file.c
@@ -32,7 +32,7 @@ loglevel_file_write (xlator_t *this, fd_t *fd, struct iovec *iov, int count)
level = strtol (iov[0].iov_base, NULL, 0);
if (level >= GF_LOG_NONE && level <= GF_LOG_TRACE)
- gf_log_set_loglevel (level);
+ gf_log_set_loglevel (this->ctx, level);
return iov_length (iov, count);
}