[Bug 261155] syslogd not logging programs with '.'

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Jan 2022 21:15:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261155

            Bug ID: 261155
           Summary: syslogd not logging programs with '.'
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: freebsd-ports@charlieroot.de

See subject, syslog won't log anything with a dot ('.') in the prog name:

[helmut@BSDHelmut ~]$ logger -p daemon.info -t fail2ban.jail -s Test Message
fail2ban.jail 31238 - - Test Message
[helmut@BSDHelmut ~]$ sudo grep -r 'fail2ban\.jail' /var/log/daemon.log
[helmut@BSDHelmut ~]$ logger -p daemon.info -t fail2ban_jail -s Test Message
fail2ban_jail 30761 - - Test Message
[helmut@BSDHelmut ~]$ sudo grep -r 'fail2ban_jail' /var/log/daemon.log
Jan 12 22:07:52 BSDHelmut fail2ban_jail[30761]: Test Message
[helmut@BSDHelmut ~]$ uname -a
FreeBSD BSDHelmut.charlieroot.de 12.2-RELEASE-p10 FreeBSD 12.2-RELEASE-p10
12803d8a9(releng/12.2) GENERIC-PF-ALTQ  amd64
[helmut@BSDHelmut ~]$

Unfortunately applications like fail2ban use a dot in the prog name:

fail2ban.actions,fail2ban.database,fail2ban.filter,fail2ban.jail,fail2ban.utils

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