Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2022 21:15:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 261155] syslogd not logging programs with '.'
Message-ID:  <bug-261155-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261155

            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.u=
tils

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



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