Module: kamailio Branch: 5.0 Commit: 7f477020368b0f42bfd053f8eb02441b323a610f URL: https://github.com/kamailio/kamailio/commit/7f477020368b0f42bfd053f8eb02441b323a610f
Author: Sebastian Damm <d...@sipgate.de> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2017-06-23T11:08:37+02:00 app_lua: add "NOTICE" loglevel to sr.log (cherry picked from commit c2a27bc0875aaaec877c75e9b50fbf41011918b1) --- Modified: src/modules/app_lua/app_lua_sr.c --- Diff: https://github.com/kamailio/kamailio/commit/7f477020368b0f42bfd053f8eb02441b323a610f.diff Patch: https://github.com/kamailio/kamailio/commit/7f477020368b0f42bfd053f8eb02441b323a610f.patch --- 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) { _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev