From 038dfe57cf0c5944b0392332dbf5a00bb1208150 Mon Sep 17 00:00:00 2001 From: Mohamed Ashiq Date: Wed, 12 Aug 2015 15:21:17 +0530 Subject: libglusterfs:Porting log messages to new framework Change-Id: I8625b7dc8941720cc7a864b8fddbcc7b4c485fcd BUG: 1252836 Signed-off-by: Mohamed Ashiq Reviewed-on: http://review.gluster.org/11896 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Manikandan Selvaganesh Reviewed-by: Niels de Vos --- libglusterfs/src/run.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libglusterfs/src/run.c') diff --git a/libglusterfs/src/run.c b/libglusterfs/src/run.c index 5d7f1d207b1..6018a58ad5f 100644 --- a/libglusterfs/src/run.c +++ b/libglusterfs/src/run.c @@ -43,8 +43,8 @@ #include "common-utils.h" #endif +#include "libglusterfs-messages.h" #include "run.h" - void runinit (runner_t *runner) { @@ -187,7 +187,7 @@ runner_log (runner_t *runner, const char *dom, gf_loglevel_t lvl, if (len > 0) buf[len - 1] = '\0'; - gf_log_callingfn (dom, lvl, "%s: %s", msg, buf); + gf_msg_callingfn (dom, lvl, 0, LG_MSG_RUNNER_LOG, "%s: %s", msg, buf); GF_FREE (buf); } -- cgit