XLOG not writing to local0

Richard Robson via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <[email protected]>
I have setup the kamailio.log file to receive the logs from kamailio and 
I am receiving some, but  I do mot see any logs from xlog commands in 
the script.


I see logs like this on startup and various others, but none from xlog 
no matter how I format them.

can anyone advise where I may be going wrong?


current logs:

Apr 17 12:28:49 server01 /usr/local/sbin/kamailio[9073]: INFO: <core> 
[core/udp_server.c:163]: probe_max_receive_buffer(): SO_RCVBUF is 
initially 212992 for fd 12
Apr 17 12:28:49 server01 /usr/local/sbin/kamailio[9073]: INFO: <core> 
[core/udp_server.c:233]: probe_max_receive_buffer(): SO_RCVBUF is 
finally 425984 on fd 12
Apr 17 12:28:49 server01 /usr/local/sbin/kamailio[9073]: INFO: <core> 
[core/udp_server.c:163]: probe_max_receive_buffer(): SO_RCVBUF is 
initially 212992 for fd 13
Apr 17 12:28:49 server01 /usr/local/sbin/kamailio[9073]: INFO: <core> 
[core/udp_server.c:233]: probe_max_receive_buffer(): SO_RCVBUF is 
finally 425984 on fd 13
Apr 17 12:28:49 server01 /usr/local/sbin/kamailio[9073]: INFO: <core> 
[core/udp_server.c:163]: probe_max_receive_buffer(): SO_RCVBUF is 
initially 212992 for fd 14
Apr 17 12:28:49 server01 /usr/local/sbin/kamailio[9073]: INFO: <core> 
[core/udp_server.c:233]: probe_max_receive_buffer(): SO_RCVBUF is 
finally 425984 on fd 14
Apr 17 12:28:49 server01 /usr/local/sbin/kamailio[9118]: INFO: jsonrpcs 
[jsonrpcs_sock.c:453]: jsonrpc_dgram_process(): a new child 0/9118
Apr 17 12:28:49 server01 /usr/local/sbin/kamailio[9120]: INFO: ctl 
[io_listener.c:217]: io_listen_loop(): io_listen_loop:  using epoll_lt 
io watch method (config)


config:

debug=4
log_stderror=no

log_facility=LOG_LOCAL0
log_prefix="[$mt $hdr(CSeq) $ci]  "


example xlogs that do not print (they are the start of request route):

xlog("LOG_LOCAL0","L_ERR","RIK: Start route\n");

xlog("TRACE: Start Route [Main] for [Call-ID: $ci]\n");



__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.