Bug 248560 - syslog unable to divert ipfw messages to separate logfile
Summary: syslog unable to divert ipfw messages to separate logfile
Status: Closed Overcome By Events
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: 2022-01-25 12:37 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?
Comment 1 Martin Waschbüsch 2022-01-25 12:37:05 UTC
It seems to work in 13.0-RELEASE, so I'll close as overcome by events...