summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/event.c
diff options
context:
space:
mode:
authorMohamed Ashiq <ashiq333@gmail.com>2015-05-19 15:21:46 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-07-09 00:10:20 -0700
commit8c20f8bd0be0a797f57a5e68473d857357a16f9e (patch)
treeb8f412a40509668649329e8133888432c326310d /libglusterfs/src/event.c
parent30926da5426f95a5eaf0b3f0e61f7ef4172daa36 (diff)
event,parse-utils,quota-common-utils,rbthash/libglusterfs : Porting to new logging framework
Backport of http://review.gluster.org/10823 Cherry-picked from a9b6933ef097d2a81ce21a8aeda2acc569cd1509 >Change-Id: I13ae9a97fe442c06cf50fe77c63718ea0858dc4d >BUG: 1194640 >Signed-off-by: Mohamed Ashiq <ashiq333@gmail.com> >Reviewed-on: http://review.gluster.org/10823 >Tested-by: NetBSD Build System <jenkins@build.gluster.org> >Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Change-Id: I13ae9a97fe442c06cf50fe77c63718ea0858dc4d BUG: 1217722 Signed-off-by: Mohamed Ashiq <ashiq333@gmail.com> Reviewed-on: http://review.gluster.org/11404 Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'libglusterfs/src/event.c')
-rw-r--r--libglusterfs/src/event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libglusterfs/src/event.c b/libglusterfs/src/event.c
index 35564e46ea8..c20355cee3d 100644
--- a/libglusterfs/src/event.c
+++ b/libglusterfs/src/event.c
@@ -20,6 +20,7 @@
#include "event.h"
#include "mem-pool.h"
#include "common-utils.h"
+#include "libglusterfs-messages.h"
#ifndef _CONFIG_H
#define _CONFIG_H
@@ -42,7 +43,7 @@ event_pool_new (int count, int eventthreadcount)
if (event_pool) {
event_pool->ops = &event_ops_epoll;
} else {
- gf_log ("event", GF_LOG_WARNING,
+ gf_msg ("event", GF_LOG_WARNING, 0, LG_MSG_FALLBACK_TO_POLL,
"falling back to poll based event handling");
}
#endif