[sr-dev] how to turn off debug?

Daniel-Constantin Mierla miconda at gmail.com
Sat May 30 10:12:19 CEST 2009


Hello,

On 05/30/2009 11:05 AM, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>  > if you concern about the memory logs, then set memlog and memdbg higher 
>  > than debug, see example:
>  > http://sip-router.org/wiki/migration/kamailio-3.0-config#kamailio_config_file
>
> no, i'm concerned about messages like this:
>
>  0(11114) DEBUG: <core> [sr_module.c:508]: find_export_record: found <record_route> in module rr [/usr/lib/sip-router/modules_k/rr.so]
>  0(11114) DEBUG: <core> [route_struct.c:150]: ACTION_#6 #0/1: 3(3)/ 0x5
>  0(11114) DEBUG: <core> [route_struct.c:150]: ACTION_#25 #0/2: 9(9)/ (nil)
>  0(11114) DEBUG: <core> [route_struct.c:150]: ACTION_#25 #1/2: 3(3)/ (nil)
>  0(11114) DEBUG: <core> [sr_module.c:505]: find_export_record: found <t_newtran> in module tm [/usr/lib/sip-router/modules/tm.so]
>   
debug=1

in SR, log levels are:
#define L_ALERT        -5
#define L_BUG        -4
#define L_CRIT2        -3  /* like L_CRIT, but adds prefix */
#define L_CRIT      -2  /* no prefix added */
#define L_ERR       -1
#define L_WARN       0
#define L_NOTICE     1
#define L_INFO       2
#define L_DBG        3


Cheers,
Daniel

> -- juha
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com/




More information about the sr-dev mailing list