Now it's working as expected. Thanks for helping.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
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@sip.solutions
linkedin.com/in/vallimamod
.
> On 8 Jul 2020, at 02:18, Sharad Kumar via Users
> 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.*