Browse code

core: kemi - handle notice log level in KSR.log()

Daniel-Constantin Mierla authored on 09/01/2020 17:12:56
Showing 1 changed files
... ...
@@ -148,8 +148,12 @@ static int sr_kemi_core_log(sip_msg_t *msg, str *level, str *txt)
148 148
 				LM_DBG("%s", txt->s);
149 149
 			} else if(strcasecmp(level->s, "info")==0) {
150 150
 				LM_INFO("%s", txt->s);
151
+			} else if(strcasecmp(level->s, "notice")==0) {
152
+				LM_NOTICE("%s", txt->s);
151 153
 			} else if(strcasecmp(level->s, "warn")==0) {
152 154
 				LM_WARN("%s", txt->s);
155
+			} else if(strcasecmp(level->s, "err")==0) {
156
+				LM_ERR("%s", txt->s);
153 157
 			} else if(strcasecmp(level->s, "crit")==0) {
154 158
 				LM_CRIT("%s", txt->s);
155 159
 			} else {