Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2026 14:15:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 293879] syslogd: alternation in ereregex property-based filter does not work
Message-ID:  <bug-293879-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293879

            Bug ID: 293879
           Summary: syslogd: alternation in ereregex property-based filter
                    does not work
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: work+freebsd@vvv.kiev.ua

Alternation in ereregex property-based filter does not work.

Steps to reproduce:

1. Add filter at the beginning of /etc/syslog.conf:
:msg, !ereregex, "substring1|substring2"

2. Apply new config:
killall -1 syslogd

3. Send message to syslog:
logger -p auth.notice "substring1"
logger -p auth.notice "substring2"
logger -p auth.notice "substring3"

Only the last message should appear in /var/log/messages.
But all messages will appear:

Mar 17 15:58:09 host user[85236]: substring1
Mar 17 15:58:14 host user[85240]: substring2
Mar 17 15:59:35 host user[85276]: substring3

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293879-227>