Skip to content

Commit

Permalink
core: kemi - handle notice log level in KSR.log()
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jan 9, 2020
1 parent bc24889 commit 73088fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/kemi.c
Expand Up @@ -148,8 +148,12 @@ static int sr_kemi_core_log(sip_msg_t *msg, str *level, str *txt)
LM_DBG("%s", txt->s);
} else if(strcasecmp(level->s, "info")==0) {
LM_INFO("%s", txt->s);
} else if(strcasecmp(level->s, "notice")==0) {
LM_NOTICE("%s", txt->s);
} else if(strcasecmp(level->s, "warn")==0) {
LM_WARN("%s", txt->s);
} else if(strcasecmp(level->s, "err")==0) {
LM_ERR("%s", txt->s);
} else if(strcasecmp(level->s, "crit")==0) {
LM_CRIT("%s", txt->s);
} else {
Expand Down

0 comments on commit 73088fd

Please sign in to comment.