Module: kamailio Branch: master Commit: c2a27bc0875aaaec877c75e9b50fbf41011918b1 URL: https://github.com/kamailio/kamailio/commit/c2a27bc0875aaaec877c75e9b50fbf41...
Author: Sebastian Damm damm@sipgate.de Committer: Sebastian Damm damm@sipgate.de Date: 2017-06-22T16:22:49+02:00
app_lua: add "NOTICE" loglevel to sr.log
---
Modified: src/modules/app_lua/app_lua_sr.c
---
Diff: https://github.com/kamailio/kamailio/commit/c2a27bc0875aaaec877c75e9b50fbf41... Patch: https://github.com/kamailio/kamailio/commit/c2a27bc0875aaaec877c75e9b50fbf41...
---
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) {