Bug 248560 - syslog unable to divert ipfw messages to separate logfile
Summary: syslog unable to divert ipfw messages to separate logfile
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2020-08-09 18:50 UTC by Martin Waschbüsch
Modified: 2020-08-09 20:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Waschbüsch 2020-08-09 18:50:37 UTC
According to the man page:
man 5 syslog.conf
it is possible to divert ipfw messages to a separate logfile by adding these lines to the configuration:

     # Log ipfw messages without syncing after every message.
     !ipfw
     *.*                                                     -/var/log/ipfw

The result: All output of ipfw is logged to /var/log/security, but the above config lines are without effect.

This used to work on previous versions of FreeBSD, but does no longer seem to be true for 12.1-RELEASE.

I am unsure if functionality has changed and the documentation is now outdated or if the documentation is correct and this is a bug?