Browse Source

xlog: LOG_() api update

Andrei Pelinescu-Onciul 16 years ago
parent
commit
9554f34758
1 changed files with 2 additions and 2 deletions
  1. 2 2
      modules_s/xlog/xlog.c

+ 2 - 2
modules_s/xlog/xlog.c

@@ -141,7 +141,7 @@ static int xlog(struct sip_msg* msg, char* lev, char* frm)
 		return -1;
 
 	/* log_buf[log_len] = '\0'; */
-	LOG_(level, "<script>: ", "%.*s", log_len, log_buf);
+	LOG_(DEFAULT_FACILITY, level, "<script>: ", "%.*s", log_len, log_buf);
 
 	return 1;
 }
@@ -158,7 +158,7 @@ static int xdbg(struct sip_msg* msg, char* frm, char* str2)
 		return -1;
 
 	/* log_buf[log_len] = '\0'; */
-	LOG_(L_DBG, "<script>: ", "%.*s", log_len, log_buf);
+	LOG_(DEFAULT_FACILITY, L_DBG, "<script>: ", "%.*s", log_len, log_buf);
 
 	return 1;
 }