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 <[email protected]> wrote: > On Thu, Feb 16, 2012 at 10:08 PM, J.R. Pauley <[email protected]> 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 > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
