[OpenSIPS-Users] opensips and syslog facility/level

Oleksandr Kunytsia okunia at gmail.com
Wed Aug 13 16:29:54 CEST 2014


Hello Liviu,

As I mentioned before, on my config
*debug=0,*
the same shows `*opensipsctl fifo debug`*
DEBUG:: 0

When I commented out debug parameter from config, on restart opensips logs
the following:
-----------
==> /var/log/sips.log <==
local2.notice<149>: Aug 13 07:12:00 sip1 /usr/sbin/opensips[24117]:
NOTICE:core:main: version: opensips 1.7.1-tls (x86_64/linux)
local2.notice<149>: Aug 13 07:12:00 sip1 /usr/sbin/opensips[24117]:
NOTICE:signaling:mod_init: initializing module ...
local2.warn<148>: Aug 13 07:12:00 sip1 /usr/sbin/opensips[24117]:
WARNING:core:mk_net: invalid network address/netmask combination fixed...
local2.notice<149>: Aug 13 07:12:00 sip1 /usr/sbin/opensips[24121]:
 L_NOTICE using localhost for routing
local2.err<147>: Aug 13 07:12:00 sip1 /usr/sbin/opensips[24121]:  no LEVEL
using localhost for routing
----------------------------

So only 2 of 3 messages have been logged.

I found that it would prints all those 3 messages (as well as a lot of
other INFO msgs :) if I put 'debug=3' on config file.



More information about the Users mailing list