[SR-Users] Kamailio 3.0.1 output debug to terminal
Nelson Pereira
npereira at protus.com
Wed May 19 16:23:31 CEST 2010
Thanks for the response, although I'm not seing anything coming out when tail'ing the syslog file.
I only see when kamailio starts:
May 19 10:22:14 qa-qsuitePBX-01 kamailio: INFO: <core> [tcp_main.c:4150]: init_tcp: using epoll_lt as the io watch method (auto detected)
May 19 10:22:14 qa-qsuitePBX-01 /usr/sbin/kamailio[1784]: INFO: usrloc [hslot.c:53]: locks array size 512
May 19 10:22:14 qa-qsuitePBX-01 /usr/sbin/kamailio[1784]: INFO: <core> [udp_server.c:166]: INFO: udp_init: SO_RCVBUF is initially 124928
May 19 10:22:14 qa-qsuitePBX-01 /usr/sbin/kamailio[1784]: INFO: <core> [udp_server.c:217]: INFO: udp_init: SO_RCVBUF is finally 262142
May 19 10:22:14 qa-qsuitePBX-01 /usr/sbin/kamailio[1784]: INFO: <core> [udp_server.c:166]: INFO: udp_init: SO_RCVBUF is initially 124928
May 19 10:22:14 qa-qsuitePBX-01 /usr/sbin/kamailio[1784]: INFO: <core> [udp_server.c:217]: INFO: udp_init: SO_RCVBUF is finally 262142
May 19 10:22:14 qa-qsuitePBX-01 /usr/sbin/kamailio[1784]: INFO: <core> [udp_server.c:166]: INFO: udp_init: SO_RCVBUF is initially 124928
May 19 10:22:14 qa-qsuitePBX-01 /usr/sbin/kamailio[1784]: INFO: <core> [udp_server.c:217]: INFO: udp_init: SO_RCVBUF is finally 262142
May 19 10:22:14 qa-qsuitePBX-01 /usr/sbin/kamailio[1784]: INFO: <core> [udp_server.c:166]: INFO: udp_init: SO_RCVBUF is initially 124928
May 19 10:22:14 qa-qsuitePBX-01 /usr/sbin/kamailio[1784]: INFO: <core> [udp_server.c:217]: INFO: udp_init: SO_RCVBUF is finally 262142
May 19 10:22:14 qa-qsuitePBX-01 /usr/sbin/kamailio[1804]: INFO: ctl [io_listener.c:224]: io_listen_loop: using epoll_lt io watch method (config)
Do I need anything else to enable?
Nelson Pereira
-----Original Message-----
From: Klaus Darilion [mailto:klaus.mailinglists at pernau.at]
Sent: Wednesday, May 19, 2010 10:08 AM
To: Nelson Pereira
Subject: Re: [SR-Users] Kamailio 3.0.1 output debug to terminal
Kamailio default uses syslog logging.
I suggest to start a second console and use:
tail -f /var/log/syslog
you can redirect syslog to a dedicated file using, see:
http://www.kamailio.org/dokuwiki/doku.php/tutorials:debug-syslog-messages#custom_syslog_file
regards
klaus
Am 19.05.2010 15:50, schrieb Nelson Pereira:
> How do you output debug info to the terminal?
>
> I don't understand this :
>
> # Several features can be enabled using '#!define WITH_FEATURE' directives:
>
> #
>
> # *** To run in debug mode:
>
> # - define WITH_DEBUG
>
> How do I get debug and output to screen?
>
> *Nelson Pereira*
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
More information about the sr-users
mailing list