[sr-dev] git:master: parser/fline.c: syslog message cleanup when request line parsing fails

Daniel-Constantin Mierla miconda at gmail.com
Thu Aug 29 16:51:16 CEST 2013


On 8/29/13 4:08 PM, Juha Heinanen wrote:
> Module: sip-router
> Branch: master
> Commit: 2685cd9bb6933c2d4b4b97e3b4ed6b98005255c9
> URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2685cd9bb6933c2d4b4b97e3b4ed6b98005255c9
>
> Author: Juha Heinanen <jh at tutpro.com>
> Committer: Juha Heinanen <jh at tutpro.com>
> Date:   Thu Aug 29 17:05:41 2013 +0300
>
> [...]
> -	LOG(L_INFO, "ERROR:parse_first_line: bad message\n");
> +	LOG(L_ERR, "parse_first_line: bad message\n");
For the records, name of the function should be printed for all logs 
automatically (on the OS-es that supports it, like Linux), so it can be 
removed as well from the message itself (otherwise will appear two times 
- nothing critical, though, just cosmetic touch).

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013
   - more details about Kamailio trainings at http://www.asipto.com -




More information about the sr-dev mailing list