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
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
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
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
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
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
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
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