[SR-Users] XLOG To STDERR Not Working

Daniel-Constantin Mierla miconda at gmail.com
Mon May 18 09:02:15 CEST 2015


Hello,

what is the command you start kamailio with?

Are those log messages you sent everything you see? Because it doesn't
get to complete start.

Cheers,
Daniel

On 17/05/15 13:44, Nahum Nir wrote:
> Hi All,
>
> I am using Kamailio 4.0.3 and can't logs.
> .cfg:
> #!define WITH_DEBUG
> ### LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR
> #!ifdef WITH_DEBUG
> debug=4
> log_stderror=yes
> #!else
> debug=2
> log_stderror=no
> #!endif
>
> memdbg=5
> memlog=5
>
> log_facility=LOG_LOCAL0
>
> When the server starts there outputs about xlog:
> 0(20266) DEBUG: <core> [cfg.y:1791]: yyparse(): loading module xlog.so
>  0(20266) DEBUG: <core> [sr_module.c:499]: load_module(): load_module:
> module file not found </usr/local/lib/kamailio/modules_k/xlog.so>
>  0(20266) DEBUG: <core> [sr_module.c:522]: load_module(): load_module:
> module file not found </usr/local/lib/kamailio/modules_k/xlog/xlog.so>
>  0(20266) DEBUG: <core> [sr_module.c:564]: load_module(): load_module:
> trying to load </usr/lib64/kamailio/modules/xlog.so>
>  0(20266) DEBUG: <core> [sr_module.c:343]: register_module(): register
> PV from: xlog
>  0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record():
> find_export_record: found <xlog> in module xlog
> [/usr/lib64/kamailio/modules/xlog.so]
>  0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record():
> find_export_record: found <xlog> in module xlog
> [/usr/lib64/kamailio/modules/xlog.so]
>  0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record():
> find_export_record: found <xlog> in module xlog
> [/usr/lib64/kamailio/modules/xlog.so]
>  0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record():
> find_export_record: found <xlog> in module xlog
> [/usr/lib64/kamailio/modules/xlog.so]
>  0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record():
> find_export_record: found <xlog> in module xlog
> [/usr/lib64/kamailio/modules/xlog.so]
>  0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record():
> find_export_record: found <xlog> in module xlog
> [/usr/lib64/kamailio/modules/xlog.so]
>  0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record():
> find_export_record: found <xdbg> in module xlog
> [/usr/lib64/kamailio/modules/xlog.so]
>  0(20266) DEBUG: <core> [sr_module.c:674]: find_mod_export_record():
> find_export_record: found <xdbg> in module xlog
> [/usr/lib64/kamailio/modules/xlog.so]
>  0(20268) DEBUG: <core> [sr_module.c:935]: init_mod(): DEBUG:
> init_mod: xlog
>  0(20268) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog()
>  0(20268) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog()
>  0(20268) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog()
>  0(20268) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog()
>  0(20268) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog()
>  0(20268) DEBUG: <core> [route.c:928]: fix_actions(): fixing xlog()
>
> At the beginning of the  Main routing block I put:
>
> log("~~~~~~~~~~~~route~~~~~~~~~~~~~~~~~~~~\n");
> xdbg("~~~~~~~~~ xdbg - route~~~~~~~~~~~~~~~~~~~~\n");
> xlog("L_ALERT","~~~~~~~~~ xlog - route~~~~~~~~~~~~~~~~~~~~\n");
>
> But nothing is logging when I send INVITEs
>
> Any help?
>
> Thanks,
> Nir
>
>
> _______________________________________________
> 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

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150518/c4771d81/attachment.html>


More information about the sr-users mailing list