[SR-Users] Debugging and syslog

Iwan Budi Kusnanto ibk at labhijau.net
Tue Nov 27 04:10:15 CET 2012


touch the log file?
restart rsyslog?

On Tue, Nov 27, 2012 at 3:38 AM, Daniel W. Graham <dan at cmsinter.net> wrote:
> Hello,
>
> Reaching out for some assistance with debugging, I am not seeing any xlog
> messages in my log file. If there is any other info I didn’t include that
> would be helpful please let me know.
>
>
>
> Any ideas are appreciated.
>
>
>
> Using Kamailio 3.3.2 & Cent OS 6
>
>
>
> Rsyslog.conf
>
> --------------------
>
> *.info;mail.none;authpriv.none;cron.none;local0.none    /var/log/messages
>
> # Kamailio
>
> local0.*                                                -/var/log/kamailio
>
>
>
>
>
> Kamailio CFG
>
> ------------------------------
>
> #!define WITH_DEBUG
>
>
>
> #!ifdef WITH_DEBUG
>
> debug=4
>
> log_stderror=yes
>
> #!else
>
> debug=2
>
> log_stderror=no
>
> #!endif
>
>
>
> log_facility=LOG_LOCAL0
>
>
>
> loadmodule "xlog.so"
>
>
>
> Example xlog-
>
>
>
> xlog("L_INFO", "No more gateways \n");
>
>
>
> Thanks,
>
> Dan-
>
>
> _______________________________________________
> 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
>



-- 
Iwan Budi Kusnanto



More information about the sr-users mailing list