Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 1999 09:38:37 -0700 (PDT)
From:      <sheldonh@FreeBSD.org>
To:        ankh@byron.fachschaften.uni-muenchen.de, sheldonh@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: kern/12517: ipfw should not log to console when using the 'log' keyword but does (sort of documented)
Message-ID:  <199907051638.JAA13253@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: ipfw should not log to console when using the 'log' keyword but does (sort of documented)

State-Changed-From-To: open->feedback
State-Changed-By: sheldonh
State-Changed-When: Mon Jul 5 09:37:37 PDT 1999
State-Changed-Why: 
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.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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