Module: kamailio
Branch: master
Commit: f39f88a47bed160bf55c7bb3c06bff9fa7569750
URL:
https://github.com/kamailio/kamailio/commit/f39f88a47bed160bf55c7bb3c06bff9…
Author: lazedo <luis.azedo(a)factorlusitano.com>
Committer: lazedo <luis.azedo(a)factorlusitano.com>
Date: 2020-07-17T10:08:43Z
core: add sip_parser_log core variable
* when handling non sip messages, parser errors are logged at core level
which defaults to ERR. since this may induce in error sysops or log
scanners, sometimes the core level is set to debug just to omit these
messages from log, which is not good since other messages are omitted
too. this commit adds a new core variable to set the log level for
message parsing errors. this way, we can explicitly set the log level
for message parsing while leaving the core level at ERR.
---
Modified: src/core/cfg.lex
Modified: src/core/cfg.y
Modified: src/core/cfg_core.c
Modified: src/core/cfg_core.h
Modified: src/core/parser/msg_parser.c
Modified: src/core/parser/parse_fline.c
Modified: src/core/receive.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f39f88a47bed160bf55c7bb3c06bff9…
Patch:
https://github.com/kamailio/kamailio/commit/f39f88a47bed160bf55c7bb3c06bff9…