Ottomata has submitted this change and it was merged.
Change subject: Add quiet mode for monitoring
......................................................................
Add quiet mode for monitoring
Change-Id: Ic6802eb36b368a4e1cf2dfd5887d02bc691f2ad7
---
M scripts/check_web_page.sh
1 file changed, 5 insertions(+), 0 deletions(-)
Approvals:
Ottomata: Verified; Looks good to me, approved
diff --git a/scripts/check_web_page.sh b/scripts/check_web_page.sh
index ea1d3e6..0d3b4cb 100755
--- a/scripts/check_web_page.sh
+++ b/scripts/check_web_page.sh
@@ -28,6 +28,7 @@
SCRIPT_DIR_ABS="$(dirname "$0")"
# Verbosity levels
+VERBOSITY_QUIET=9
VERBOSITY_NORMAL=10
VERBOSITY_VERBOSE=11
VERBOSITY="$VERBOSITY_NORMAL"
@@ -118,6 +119,7 @@
--date DATE -- per default expect that all datafiles come with data up to,
and including DATE. DATE can be any value accepted by
date's --date option. (Default: "today")
+--quiet -- suppress all messages but errors.
--verbose -- More verbose output.
EOF
@@ -158,6 +160,9 @@
DEFAULT_LAST_EXPECTED_DATE_PARAMETER="$1"
shift
;;
+ "--quiet" )
+ VERBOSITY="$VERBOSITY_QUIET"
+ ;;
"--verbose" )
VERBOSITY="$VERBOSITY_VERBOSE"
;;
--
To view, visit https://gerrit.wikimedia.org/r/85622
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic6802eb36b368a4e1cf2dfd5887d02bc691f2ad7
Gerrit-PatchSet: 2
Gerrit-Project: analytics/geowiki
Gerrit-Branch: master
Gerrit-Owner: QChris <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits