<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Tito,<br>
<br>
Found a bug in settings related to logging, just updated on GIT -
please do a pull and retry.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 25.04.2016 20:24, Tito Cumpen wrote:<br>
</div>
<blockquote
cite="mid:CANZPVB7O4uKyUB=kF_fSUvpcz2h1zzLheap9ej2EndqGVKE+hA@mail.gmail.com"
type="cite">
<div dir="ltr">Bogdan,
<div><br>
</div>
<div>I've turned the setting to "log_stderror=no" yet I am
having the same outcome.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Tito</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Apr 23, 2016 at 4:10 AM,
Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:bogdan@opensips.org"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Tito,<br>
<br>
You have log_stderror set on YES, which will make
opensips to log to console, not to syslog.<br>
<br>
Regards,<br>
</tt><span class="">
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
</span>
<div>
<div class="h5">
<div>On 23.04.2016 01:46, Tito Cumpen wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Bogdan,
<div><br>
</div>
<div><br>
</div>
<div>Here are the first lines from my config:</div>
<div><br>
</div>
<div><br>
</div>
<div>
<p><span> 1 </span><span>#</span></p>
<p><span> 2 </span><span># OpenSIPS
residential configuration script</span></p>
<p><span> 3 </span><span># by OpenSIPS
Solutions <<a moz-do-not-send="true"
href="mailto:team@opensips-solutions.com"
target="_blank">team@opensips-solutions.com</a>></span></p>
<p><span> 4 </span><span>#</span></p>
<p><span> 5 </span><span># Please refer to
the Core CookBook at:</span></p>
<p><span> 6 </span><span># <a
moz-do-not-send="true"
href="http://www.opensips.org/Resources/DocsCookbooks"
target="_blank"><a class="moz-txt-link-freetext" href="http://www.opensips.org/Resources/DocsCookbooks">http://www.opensips.org/Resources/DocsCookbooks</a></a></span></p>
<p><span> 7 </span><span># for a explanation
of possible statements, functions and
parameters.</span></p>
<p><span> 8 </span><span>#</span></p>
<p><span> 9 </span></p>
<p><span> 10 </span></p>
<p><span> 11 </span><span>####### Global
Parameters #########</span></p>
<p><span> 12 </span></p>
<p><span> 13 </span><span>#debug=3</span></p>
<p><span> 14 </span><span>#log_level=3 </span></p>
<p><span> 15 </span><span>#log_stderror=yes</span></p>
<p><span> 16 </span></p>
<p><span> 17 </span><span>log_facility=</span><span>LOG_LOCAL0</span></p>
<p><span> 18 </span><span>log_level=</span><span>3 </span></p>
<p><span> 19 </span><span>log_stderror=</span><span>yes</span></p>
<p><span> 20 </span><span>#memlog=1</span></p>
<p><span> 21 </span></p>
<p><span> 22 </span><span>debug_mode=</span><span>no</span></p>
<p><span> 23 </span><span>children=</span><span>4</span></p>
<p><span> 24 </span><span>auto_aliases=</span><span>no</span></p>
<p><span> 25 </span><span>#disable_tcp=no</span></p>
<p><span> 26 </span><span>tcp_connection_lifetime=</span><span>3600</span></p>
<p><span> 27 </span><span>tcp_connect_timeout=</span><span>3</span></p>
<p><span> 28 </span><span>tcp_keepidle =</span><span>
30</span></p>
<p><span> 29 </span><span>tcp_keepinterval =</span><span>
5</span></p>
<p><span> 30 </span><span>tcp_keepalive =</span><span>
1</span></p>
<p><span> 31 </span><span>tcp_keepcount =</span><span>
5</span></p>
<p><span> 32 </span><span>#tcp_max_msg_chunks=8</span></p>
<p><span> 33 </span><span>tcp_max_msg_time =</span><span>
8</span></p>
<p><span> 34 </span><span>tcp_children=</span><span>6</span></p>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Apr 22, 2016 at
6:42 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:bogdan@opensips.org"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Hi
Tito,<br>
<br>
what are the values for the debug_mode and
for log_stderror ? And in what order to
they pop into your script ?<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div>
<div>On 22.04.2016 21:50, Tito Cumpen
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Liviu,
<div><br>
</div>
<div><br>
</div>
<div>I don't see any messages
regarding opensips in
/var/log/messages. I don't see an
issue finding opensips.cfg. Since
opensips is starting with all the
changes I make to the config being
applied. Here is my definition in
rsyslog.conf</div>
<div>
<p><span>local0.*
/var/log/opensips</span></p>
<p><span>this is the log facility
definition in opensips config</span></p>
<p><span></span></p>
<p> log_facility=LOG_LOCAL0</p>
<p><br>
</p>
<p>Previous versions/pulls of
opensips didn't appear to have
this issue. It has made itself
apparent within the last month. </p>
<p><br>
</p>
<p>Thanks,</p>
<p>Tito</p>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Apr
22, 2016 at 4:47 AM, Liviu Chircu
<span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:liviu@opensips.org"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:liviu@opensips.org">liviu@opensips.org</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF"
text="#000000"> <tt>Hi Tito,<br>
<br>
Did you find anything into
/var/log/{syslog,messages}?
A common error is that the
config file is not found
("-f
/bad/path/opensips.cfg"),
and OpenSIPS will naturally
throw this error to syslog,
rather than the log file you
expect.<br>
</tt>
<pre cols="72">Liviu Chircu
OpenSIPS Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div>
<div>On 21.04.2016 01:06,
Tito Cumpen wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">Group and
devs,
<div><br>
</div>
<div>I am having
issues getting any
sort of opensips
logs with the latest
head pull git
revision: 6c10501</div>
<div>. I am running
the new
param log_level = 4
but I am seeing
opensips log
anything into the
specified log
facility or the
file. Is anyone else
seeing this issue?</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org"
target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>