when i run
/usr/sbin/sip-router -c -d -f /etc/sip-router/sip-router.cfg
i still get lots of debug messages.
how to start sip-router so that it only prints warning and errors?
-- juha
Hello,
On 05/30/2009 10:18 AM, Juha Heinanen wrote:
when i run
/usr/sbin/sip-router -c -d -f /etc/sip-router/sip-router.cfg
i still get lots of debug messages.
how to start sip-router so that it only prints warning and errors?
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_fil...
Cheers, Daniel
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_fil...
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]
-- juha
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_fil...
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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Daniel-Constantin Mierla writes:
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
thanks, i somehow missed the info on the tips page.
--juha
On May 30, 2009 at 10:18, Juha Heinanen jh@tutpro.com wrote:
when i run
/usr/sbin/sip-router -c -d -f /etc/sip-router/sip-router.cfg
i still get lots of debug messages.
how to start sip-router so that it only prints warning and errors?
Probably you have a high debug level in sip-router.cfg. In this case the debug value in sip-router.cfg will override the command line value for the duration of the cfg. parsing. After the config parsing it will be restored to the command line value (if any).
Andrei