Re: [SR-Users] xlog issue

2018-12-04 Thread Daniel-Constantin Mierla
Hello, typically syslog has some rate limiting, and with centos, you get extra limits with selinux. You have to dive into rsyslog, system config and selinux. What you can do is to start with log_stderror=yes (or -E command line option) and see if it is printing the messages you are looking for

Re: [SR-Users] xlog issue

2018-12-04 Thread Soltanici Ilie
Hello, Actually, async Syslog option was the initial option which I tried - it wasn't working properly so I changed to a synchronous mode in the hope that it will work better, but unfortunately it didn't. >Daniel-Constantin Mierla : > >Hello, > >try with async syslogging option in >

Re: [SR-Users] xlog issue

2018-12-04 Thread Daniel-Constantin Mierla
Hello, try with async syslogging option in rsyslog config: add a - in front of the file name, like: local0.*             -/var/log/kamailio/kamailio.log See if the results are better. Cheers, Daniel On 02.12.18 16:14, Soltanici Ilie wrote: > > Hello, > > I have a strange situation by using

Re: [SR-Users] xlog issue

2018-12-02 Thread Soltanici Ilie
Joel, Yes, for me it's very strange as well. It's a virtual machine (vmware esxi) on a physical server.  (4 vCPU/8GB Ram) >Joel Serrano : > >I’m not sure then what it can be, as load is not high, IO either and you have >SSD... > >Is it a virtual server in a cloud? > >I would say to enable

Re: [SR-Users] xlog issue

2018-12-02 Thread Joel Serrano
I’m not sure then what it can be, as load is not high, IO either and you have SSD... Is it a virtual server in a cloud? I would say to enable debug mode to try and see if you see anything there... :/ On Sun, Dec 2, 2018 at 10:38 Soltanici Ilie wrote: > Yes, i did, see below xlog modparam: >

Re: [SR-Users] xlog issue

2018-12-02 Thread Soltanici Ilie
Yes, i did, see below xlog modparam: # - xlog - modparam("xlog", "buf_size", 8192) modparam("xlog", "long_format", 0) modparam("xlog", "force_color", 1) modparam("xlog", "log_colors", "L_ERR=cr;L_WARN=px,L_INFO=px") >Воскресенье, 2 декабря 2018, 17:24 UTC от Joel Serrano : > >That

Re: [SR-Users] xlog issue

2018-12-02 Thread Joel Serrano
That looks good. And your modparam values for xlog module? Have you tried increasing the “buf_size”? On Sun, Dec 2, 2018 at 08:36 Soltanici Ilie wrote: > Sure, > > request_route { >include_file "conf.d/request_route.cfg" > } > conf.d/request_route.cfg: > xlog("L_INFO","[START

Re: [SR-Users] xlog issue

2018-12-02 Thread Soltanici Ilie
Sure,  request_route {    include_file "conf.d/request_route.cfg" } conf.d/request_route.cfg: xlog("L_INFO","[START ROUTING]-(Source IP=$si:$sp/Destination IP=$Ri:$Rp)\n"); route(REQINIT); route(NATDETECT); # Handle Cancel Requests route(CATCH_CANCEL); route(RETRANSMISSIONS); etc >Joel

Re: [SR-Users] xlog issue

2018-12-02 Thread Joel Serrano
Can you paste your first lines of request_route? On Sun, Dec 2, 2018 at 07:15 Soltanici Ilie wrote: > Hello, > > I have a strange situation by using xlog module. I don't know for what > reason I'm not receiving all logs generated by kamailio. > > This is the configuration which I'm using in