[OpenSIPS-Users] issues with latest head logging

Tito Cumpen tito at xsvoce.com
Mon Apr 25 19:24:52 CEST 2016


Bogdan,

I've turned the setting to  "log_stderror=no" yet  I am having the same
outcome.

Thanks,
Tito

On Sat, Apr 23, 2016 at 4:10 AM, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> Hi Tito,
>
> You have log_stderror set on YES, which will make opensips to log to
> console, not to syslog.
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 23.04.2016 01:46, Tito Cumpen wrote:
>
> Bogdan,
>
>
> Here are the first lines from my config:
>
>
>   1 #
>
>    2 # OpenSIPS residential configuration script
>
>    3 #     by OpenSIPS Solutions <team at opensips-solutions.com>
>
>    4 #
>
>    5 # Please refer to the Core CookBook at:
>
>    6 #      http://www.opensips.org/Resources/DocsCookbooks
>
>    7 # for a explanation of possible statements, functions and parameters.
>
>    8 #
>
>    9
>
>   10
>
>   11 ####### Global Parameters #########
>
>   12
>
>   13 #debug=3
>
>   14 #log_level=3
>
>   15 #log_stderror=yes
>
>   16
>
>   17 log_facility=LOG_LOCAL0
>
>   18 log_level=3
>
>   19 log_stderror=yes
>
>   20 #memlog=1
>
>   21
>
>   22 debug_mode=no
>
>   23 children=4
>
>   24 auto_aliases=no
>
>   25 #disable_tcp=no
>
>   26 tcp_connection_lifetime=3600
>
>   27 tcp_connect_timeout=3
>
>   28 tcp_keepidle = 30
>
>   29 tcp_keepinterval = 5
>
>   30 tcp_keepalive = 1
>
>   31 tcp_keepcount = 5
>
>   32 #tcp_max_msg_chunks=8
>
>   33 tcp_max_msg_time = 8
>
>   34 tcp_children=6
>
> On Fri, Apr 22, 2016 at 6:42 PM, Bogdan-Andrei Iancu <
> <bogdan at opensips.org>bogdan at opensips.org> wrote:
>
>> Hi Tito,
>>
>> what are the values for the debug_mode and for log_stderror ? And in what
>> order to they pop into your script ?
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>
>> On 22.04.2016 21:50, Tito Cumpen wrote:
>>
>> Liviu,
>>
>>
>> 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
>>
>> local0.*                                                /var/log/opensips
>>
>> this is the log facility definition in opensips config
>>
>>   log_facility=LOG_LOCAL0
>>
>>
>> Previous versions/pulls of opensips didn't appear to have this issue. It
>> has made itself apparent within the last month.
>>
>>
>> Thanks,
>>
>> Tito
>>
>>
>> On Fri, Apr 22, 2016 at 4:47 AM, Liviu Chircu < <liviu at opensips.org>
>> liviu at opensips.org> wrote:
>>
>>> Hi Tito,
>>>
>>> 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.
>>>
>>> Liviu Chircu
>>> OpenSIPS Developerhttp://www.opensips-solutions.com
>>>
>>> On 21.04.2016 01:06, Tito Cumpen wrote:
>>>
>>> Group and devs,
>>>
>>> I am having issues getting any sort of opensips logs with the latest
>>> head pull git revision: 6c10501
>>> . 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?
>>>
>>>
>>> _______________________________________________
>>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>>
>> _______________________________________________
>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160425/35b5e34f/attachment.htm>


More information about the Users mailing list