Hello Kingsley, You need to disable logging from local0 into /var/log/syslog. Check you (r)syslog.conf file (whatever that is on you OS) and add "local0.none" for /var/log/syslog
Example: *.*;auth,authpriv,\ local0,local1.none -/var/log/syslog Hope this helps, -ovidiu On Mon, Oct 17, 2022 at 8:19 AM Kingsley Tart <[email protected]> wrote: > > Hi, > > is there a way in OpenSIPS 3.2 of logging to /var/log/opensips.log but > not copy these logs into syslog? > > I have these log settings: > > log_level=3 > xlog_level=1 > log_stderror=no > log_facility=LOG_LOCAL0 > > What I'm seeing is opensips logs in /var/log/opensips.log but every > entry in there is duplicated in /var/log/syslog; I don't want them in > there. > > Is there a way in OpenSIPS to configure this, or should I instead tell > OpenSIPS to log using LOG_DAEMON and configure syslog to split opensips > logs out itself? > > I've tried googling and looking at the OpenSIPS docs but can't find the > answer. > > Cheers, > Kingsley. > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- VoIP Embedded, Inc. http://www.voipembedded.com _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
