Ubuntu 16.04.2 LTS
version: kamailio 4.3.4 (x86_64/linux)

/etc/kamailio/kamailio.cfg:

### LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR
#!ifdef WITH_DEBUG
debug=4
log_stderror=yes
#!else
debug=2
log_stderror=no
#!endif

memdbg=5
memlog=5

log_facility=LOG_LOCAL0

/etc/rsyslog.d/50-default.conf

local0.*            -/var/log/kamailio.log

kamailio.log file

-rw-r--r-- 1 syslog adm 1788189 Apr 14 12:09 /var/log/kamailio.log

If i disable WITH_DEBUG in kamailio config - it writes log to /var/log/kamailio.log, if i enable it - kamailio write logs to /var/log/syslog.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.