Module: kamailio
Branch: master
Commit: 5326e1fe459983a32e62646c7bd8e6fc2d63f4f4
URL:
https://github.com/kamailio/kamailio/commit/5326e1fe459983a32e62646c7bd8e6f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2017-06-22T22:02:42+02:00
Merge pull request #1162 from SipSeb/master
app_lua: add "NOTICE" loglevel to sr.log
---
Modified: src/modules/app_lua/app_lua_sr.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5326e1fe459983a32e62646c7bd8e6f…
Patch:
https://github.com/kamailio/kamailio/commit/5326e1fe459983a32e62646c7bd8e6f…
---
diff --git a/src/modules/app_lua/app_lua_sr.c b/src/modules/app_lua/app_lua_sr.c
index d23ddaca70..f999de3e37 100644
--- a/src/modules/app_lua/app_lua_sr.c
+++ b/src/modules/app_lua/app_lua_sr.c
@@ -96,6 +96,8 @@ static int lua_sr_log (lua_State *L)
LM_DBG("%s", txt);
} else if(strcasecmp(level, "info")==0) {
LM_INFO("%s", txt);
+ } else if(strcasecmp(level, "notice")==0) {
+ LM_NOTICE("%s", txt);
} else if(strcasecmp(level, "warn")==0) {
LM_WARN("%s", txt);
} else if(strcasecmp(level, "crit")==0) {