If I rename the logfile to 'sips' same results. When I restart
/etc/init.d/syslog restart it creates an empty logfile of the correct name
 /var/log/sips but with the log_name=sips and log_facility=LOG_LOCAL7 in
the /etc/opensips/opensips.cfg file I cannot start opensips at all.
Commenting out those 2 lines opensips starts but nothing is written to
/var/log/sips. The remainder of my opensips.cfg file is simply the example
cfg for logging that came with the tar.

I need to go back and rebuild because I left out the mysql but I can't
figure out why no logs. Is there a useful default if no config file exists
at all?

On Thu, Feb 16, 2012 at 4:34 PM, Brian ipt <voipli...@iptel.co> wrote:

>
>
> On Thu, Feb 16, 2012 at 9:26 PM, Brian ipt <voipli...@iptel.co> wrote:
>
>>
>>
>> On Thu, Feb 16, 2012 at 9:20 PM, J.R. Pauley <jrpau...@gmail.com> wrote:
>>
>>> linux centos 5
>>>
>>>
>>>
>>
>> anything in syslog when your trying to start opensips and it fails?
>>
>> try changing log_name=opensips.log to log_name="sip"
>>
>
>
>
> Not sure much has changed with logging in a while..
>
> http://www.iptel.org/the_ser_getting_started_log_system
>
>
>
>
>>
>>
>
>
>
>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users@lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users@lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to