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

Brian ipt voiplists at iptel.co
Thu Feb 16 23:24:37 CET 2012

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120216/2c3623fb/attachment.htm>

More information about the Users mailing list