summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xhtgen4
1 files changed, 3 insertions, 1 deletions
diff --git a/htgen b/htgen
index a1f459f..b5519dd 100755
--- a/htgen
+++ b/htgen
@@ -53,10 +53,12 @@ EOF
## date. {{{
date=$(date '+%Y-%m-%d %H:%M:%S')
-cat 1>&2 <<EOF
+if test "$HTGEN_VERBOSE" = true; then
+ cat 1>&2 <<EOF
# ${TCPREMOTEHOST-}[$TCPREMOTEIP]:$TCPREMOTEPORT connected at $date over $PROTO
EOF
+fi
## }}}
## Parse Request-Line. {{{
read Request_Line