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

2012-02-17 Thread J.R. Pauley
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

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

2012-02-16 Thread Brian ipt
On Thu, Feb 16, 2012 at 10:08 PM, J.R. Pauley 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/opensip

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

2012-02-16 Thread J.R. Pauley
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

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

2012-02-16 Thread Brian ipt
On Thu, Feb 16, 2012 at 9:26 PM, Brian ipt wrote: > > > On Thu, Feb 16, 2012 at 9:20 PM, J.R. Pauley 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

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

2012-02-16 Thread Brian ipt
On Thu, Feb 16, 2012 at 9:20 PM, J.R. Pauley 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" > On Thu, Feb 16, 2012 at 4:18 PM, Brian ipt wrote: > >> >> >> On Thu, Feb 16, 2012 at 9:07

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

2012-02-16 Thread J.R. Pauley
linux centos 5 On Thu, Feb 16, 2012 at 4:18 PM, Brian ipt wrote: > > > On Thu, Feb 16, 2012 at 9:07 PM, J.R. Pauley wrote: > >> Am looking forward to using opensips but so far spent all day trying to >> get logs to print to a file. >> >> my config file: >> >> fork=yes >> port=5060 >> log_stderr

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

2012-02-16 Thread Brian ipt
On Thu, Feb 16, 2012 at 9:07 PM, J.R. Pauley wrote: > Am looking forward to using opensips but so far spent all day trying to > get logs to print to a file. > > my config file: > > fork=yes > port=5060 > log_stderror=no > debug=4 > log_name=opensips.log > log_facility=LOG_LOCAL7 > > I edited /etc

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

2012-02-16 Thread J.R. Pauley
Am looking forward to using opensips but so far spent all day trying to get logs to print to a file. my config file: fork=yes port=5060 log_stderror=no debug=4 log_name=opensips.log log_facility=LOG_LOCAL7 I edited /etc/syslog.config to add to bottom of file: local7.* /var/log/opensips.log I re