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:
teastep 2006-01-24 16:15:27 +00:00
parent 33cc957521
commit db518e1761
2 changed files with 8 additions and 1 deletions

View File

@ -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.

View File

@ -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"/" "/ | \