[OpenSIPS-Users] can't get any logs on centos

J.R. Pauley jrpauley at gmail.com
Fri Feb 17 17:31:00 CET 2012


After too much trying to fix it I got a different distribution, 1.7.1-tls,
and built that from scratch for my Centos env. This one seems to have
logging working OK. So I would tell anyone who downloaded the src-only
1.7.1 tar to reconsider as I could never get logging to work with that one.

On Thu, Feb 16, 2012 at 5:24 PM, Brian ipt <voiplists at iptel.co> wrote:

> On Thu, Feb 16, 2012 at 10:08 PM, J.R. Pauley <jrpauley at gmail.com> wrote:
>
>> 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.
>>
>
> :)
>
> If you change your syslog.conf to
>
> local7.* -/var/log/opensips.log
>
> does it make any difference?
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120217/bf60da09/attachment.htm>


More information about the Users mailing list