Hey guys,

We configured the opensips server to send the logs to log facility 1 
(opensips.log), it's working fine but at the same time it's also writing logs 
to log facility0 (syslog).

opensips.cfg --
log_level=3
log_stderror=no
log_facility=LOG_LOCAL1
log_name="osips-1"

rsyslog.conf -
LOCAL1.* /var/log/opensips.log

opensips -v

version: opensips 2.4.7 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, 
FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
git revision: 0f7cd0a7d
main.c compiled on 07:56:19 Feb 25 2020 with gcc 6.3.0

Any help or suggestions will be highly appreciated.

Thank you
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to