From cf8344b26d20a2c14b25963a9e04d1e29a33c529 Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 23 Jan 2006 17:48:15 +0000 Subject: [PATCH] Allow default verbosity to be set in shorewall.conf git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3358 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/releasenotes.txt | 50 +++++++++++++++++++------------------- Shorewall/shorewall | 4 ++- Shorewall/shorewall.conf | 17 +++++++++++++ 3 files changed, 45 insertions(+), 26 deletions(-) diff --git a/Shorewall/releasenotes.txt b/Shorewall/releasenotes.txt index 70497bf8a..849e27f70 100755 --- a/Shorewall/releasenotes.txt +++ b/Shorewall/releasenotes.txt @@ -43,11 +43,21 @@ New Features added in 3.1.4 packet to be logged. 2) Shorewall has always been very noisy (lots of messages). No more. The default - is now to be very quiet and you get more detail using the -v option (or -vv if - you want the old noisy behavior). The -q option is still supported but only - reverses the effect of -v. So "shorewall start -qqvv" is still completely quiet - while "shorewall start -vv" gives the same amount of output as the old "shorewall - start" did. + for new users is now to be very quiet and you get more detail using the -v option + (or -vv if you want the old noisy behavior). + + You set the default level of verbosity using the VERBOSE option in + shorewall.conf. If you don't set it (as would be the case of you use your + old shorewall.conf file) then VERBOSE defaults to a value of 2 which is + the old default. A value of 1 supporesses some of the output (like the old + -q option did) while a value of 0 makes Shorewall almost silent. That is + the value specified in the 3.2 shorewall.conf + + If the default is set at 2, you can still make a command silent by using two + "q"s (e.g., shorewall -qq restart). + + In summary, each "q" subtracts one from VERBOSE while each "v" adds one to + VERBOSE. Migration Considerations: @@ -57,11 +67,11 @@ New Features: 1) A new 'shorewall generate' command has been added. - shorewall generate [ -q ] [ -e ] [ ]