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

J.R. Pauley jrpauley at gmail.com
Thu Feb 16 22:07:32 CET 2012


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 restarted the syslog, and restarted opensips

With the log_name and log_facility lines I can't get opensips to start.
With the offending 2 lines removed I can run opensips but get NO logs, not
in syslog or anywhere else. It is hard to debug when you can't get any
output.

Ideas greatly appreciated
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120216/6903d292/attachment.htm>


More information about the Users mailing list