| Summary: | ipfw should not log to console when using the 'log' keyword but does (sort of documented) | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Florian Uhl <ankh> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 3.2-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Florian Uhl
1999-07-05 07:40:01 UTC
State Changed From-To: open->feedback In fact, every single call to ipfw_report() is dependant on fw_verbose being true, which is true if the code is compiled with IPFIREWALL_VERBOSE defined. Also, the only reporting we do is via the ipfw_report() interface, the behaviour of which is not dependant on the state of fw_verbose. In other words, we seem to do only _one_ kind of logging, and we only do it if IPFIREWALL_VERBOSE is _not_ defined at compile-time. I'm curious to know what makes you say that ipfw logs via syslog and "to the console as well". I realize that the documentation says so, but in your experience of the software, do you find this to be true? One way to find out for sure whether a message is being sent via syslog is to run syslogd -vv (see the manpage for details) having added the following line to /etc/syslog.conf: *.* /var/log/syslog.all Obviously, you need to create the file /var/log/syslog.all before you kill and restart syslogd with the -v -v options. State Changed From-To: feedback->closed Mail requesting feedback bounces. :-( |