<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>systemd might divert the logs to its journal, and no longer seen
via syslog, use journalctl to see if there are available there.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 06.10.17 02:12, Bruno Henrique Gomes
Gouvêa wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFBSE6ucUZOit7p02d4QxAcsrjicqqaQzXUy2sS4FC7qeUp0VQ@mail.gmail.com">
<div dir="ltr">
<div>Hello,</div>
<div><br>
</div>
<div> I am doing some tests with version 4.2.3 (installed of RPM
centos 7 packages) in a clean installation, I have a kamailio
running in production already configured and working, but I
would like to start a totally clean configuration to learn
more about kamailio.</div>
<div>I am using the configuration file that comes in the default
installation (kamailio-basic.cfg) just by adding a log on the
main route.</div>
<div><br>
</div>
<div>I kept the log in messages file and increased the verbosity
as below, and when i send any package (INVITE or REGISTER) I
assume that the log or xlog lines should be displayed in file,
but no. I see the packets arriving via tcpdump, and netstat
shows that port 5060 is being listened by kamailio, but I have
nothing else besides the initialization information (and the
debug of MYSQL querys when activated unrelated to INVITE or
REGISTRY packets).</div>
<div><br>
</div>
<div>Am I doing something wrong?<br>
</div>
<div><br>
</div>
<div><b>Configs </b><b>Log :</b></div>
<div><br>
</div>
<div>### LOG Levels: 3 = DBG, 2 = INFO, 1 = NOTICE, 0 = WARN, -1
= ERR</div>
<div>#! ifdef WITH_DEBUG</div>
<div>debug = 4</div>
<div>log_stderror = no</div>
<div>#! else</div>
<div>debug = 4</div>
<div>log_stderror = no</div>
<div>#! endif</div>
<div><br>
</div>
<div>memdbg = 5</div>
<div>memlog = 5</div>
<div><br>
</div>
<div>log_facility = LOG_LOCAL0</div>
<div><br>
</div>
<div><b>Main route log test:</b></div>
<div><br>
</div>
<div>request_route {</div>
<div>log ("Log main request TEST");</div>
<div>xlog ("Log main request TEST 2");</div>
<div># not displayed</div>
<div>route (REQINIT);</div>
<div><br>
</div>
<div><br>
</div>
<div><b><br>
</b></div>
<div><b>/var/log/messages:</b></div>
<div><br>
</div>
<div>
<div>Oct 5 23:39:12 pabxmodelo kamailio: Stopping kamailio:
[ OK ]</div>
<div>Oct 5 23:39:12 pabxmodelo systemd: Starting SYSV:
Kamailio is a fast, reliable and flexible SIP Server....</div>
<div>Oct 5 23:39:13 pabxmodelo kamailio: INFO: <core>
[tcp_main.c:4745]: init_tcp(): using epoll_lt as the io
watch method (auto detected)</div>
<div>Oct 5 23:39:13 pabxmodelo /usr/sbin/kamailio[30050]:
INFO: rr [../outbound/api.h:54]: ob_load_api(): Failed to
import bind_ob</div>
<div>Oct 5 23:39:13 pabxmodelo /usr/sbin/kamailio[30050]:
INFO: rr [rr_mod.c:160]: mod_init(): outbound module not
available</div>
<div>Oct 5 23:39:13 pabxmodelo /usr/sbin/kamailio[30050]:
INFO: usrloc [hslot.c:53]: ul_init_locks(): locks array size
1024</div>
<div>Oct 5 23:39:13 pabxmodelo /usr/sbin/kamailio[30050]:
INFO: <core> [udp_server.c:175]:
probe_max_receive_buffer(): SO_RCVBUF is initially 212992</div>
<div>Oct 5 23:39:13 pabxmodelo /usr/sbin/kamailio[30050]:
INFO: <core> [udp_server.c:225]:
probe_max_receive_buffer(): SO_RCVBUF is finally 425984</div>
<div>Oct 5 23:39:13 pabxmodelo /usr/sbin/kamailio[30050]:
INFO: <core> [udp_server.c:175]:
probe_max_receive_buffer(): SO_RCVBUF is initially 212992</div>
<div>Oct 5 23:39:13 pabxmodelo /usr/sbin/kamailio[30050]:
INFO: <core> [udp_server.c:225]:
probe_max_receive_buffer(): SO_RCVBUF is finally 425984</div>
<div>Oct 5 23:39:13 pabxmodelo /usr/sbin/kamailio[30050]:
INFO: <core> [udp_server.c:175]:
probe_max_receive_buffer(): SO_RCVBUF is initially 212992</div>
<div>Oct 5 23:39:13 pabxmodelo /usr/sbin/kamailio[30050]:
INFO: <core> [udp_server.c:225]:
probe_max_receive_buffer(): SO_RCVBUF is finally 425984</div>
<div>Oct 5 23:39:13 pabxmodelo /usr/sbin/kamailio[30050]:
INFO: <core> [udp_server.c:175]:
probe_max_receive_buffer(): SO_RCVBUF is initially 212992</div>
<div>Oct 5 23:39:13 pabxmodelo /usr/sbin/kamailio[30050]:
INFO: <core> [udp_server.c:225]:
probe_max_receive_buffer(): SO_RCVBUF is finally 425984</div>
<div>Oct 5 23:39:13 pabxmodelo kamailio: Starting kamailio:</div>
<div>Oct 5 23:39:13 pabxmodelo /usr/sbin/kamailio[30070]:
INFO: ctl [io_listener.c:225]: io_listen_loop():
io_listen_loop: using epoll_lt io watch method (config)</div>
<div>Oct 5 23:39:13 pabxmodelo systemd: Started SYSV:
Kamailio is a fast, reliable and flexible SIP Server..</div>
<div>Oct 5 23:39:13 pabxmodelo kamailio: [ OK ]</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr" style="font-size:12.8px">
<div>--------------------------------------------</div>
<div><br>
</div>
<div>Bruno H. G. Gouvêa</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div style="font-size:12.8px"><br clear="all">
<div><br>
---</div>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>