[OpenSIPS-Users] OpenSIPS - Log Facility partial working

Valli A. Vallimamod - SIP Solutions vma at sip.solutions
Wed Jul 8 08:43:52 EST 2020


Hi,

You need to put the following in your rsyslog.conf:

LOCAL1.*                      /var/log/opensips.log
& stop


Hope this helps.


Best Regards,
-- 
Valli A. Vallimamod
SIP Solutions
vma at sip.solutions
linkedin.com/in/vallimamod
.


> On 8 Jul 2020, at 02:18, Sharad Kumar via Users <users at lists.opensips.org> wrote:
> 
> 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 at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



Best Regards,
-- 
Valli A. Vallimamod
SIP Solutions
vma at sip.solutions
linkedin.com/in/vallimamod
.





More information about the Users mailing list