mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 22:58:52 +01:00
More verbosity tweaks -- default for new users is now VERBOSE=1
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3372 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
33cc957521
commit
db518e1761
@ -62,6 +62,13 @@ New Features added in 3.1.4
|
||||
In summary, each "q" subtracts one from VERBOSE while each "v" adds one to
|
||||
VERBOSE.
|
||||
|
||||
The "shorewall show log", "shorewall logwatch" and "shorewall dump" commands
|
||||
require VERBOSE to be greater than or equal to 3 to display MAC addresses.
|
||||
This is consistent with the previous implementation which required a single
|
||||
-v to enable MAC display but means that if you set VERBOSE=0 in shorewall.conf,
|
||||
then you will need to include -vvv in these commands in order to have MACs
|
||||
displayed.
|
||||
|
||||
Migration Considerations:
|
||||
|
||||
None.
|
||||
|
@ -281,7 +281,7 @@ packet_log() # $1 = number of messages
|
||||
|
||||
[ -n "$realtail" ] && options="-n$1"
|
||||
|
||||
if [ $VERBOSE -gt 1 ]; then
|
||||
if [ $VERBOSE -gt 2 ]; then
|
||||
grep "${LOGFORMAT}" $LOGFILE | \
|
||||
sed s/" kernel:"// | \
|
||||
sed s/" $host $LOGFORMAT"/" "/ | \
|
||||
|
Loading…
Reference in New Issue
Block a user