Skip to content

Commit

Permalink
refactor(qns): use -v command line flag
Browse files Browse the repository at this point in the history
mozilla#1692 introduced verbosity command line
flags in `neqo-server` and `neqo-client`.

This commit makes use of the flags instead of the `RUST_LOG` environment variable.
  • Loading branch information
mxinden committed Apr 19, 2024
1 parent 4fc4d16 commit 930e5c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qns/interop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export PATH="${PATH}:/neqo/bin"
case "$ROLE" in
client)
/wait-for-it.sh sim:57832 -s -t 30
RUST_LOG=debug RUST_BACKTRACE=1 neqo-client --cc cubic --qns-test "$TESTCASE" \
RUST_BACKTRACE=1 neqo-client -v --cc cubic --qns-test "$TESTCASE" \
--qlog-dir "$QLOGDIR" --output-dir /downloads $REQUESTS 2> >(tee -i -a "/logs/$ROLE.log" >&2)
;;

Expand All @@ -26,7 +26,7 @@ server)
-name "$CERT" -passout pass: -out "$P12CERT"
pk12util -d "sql:$DB" -i "$P12CERT" -W ''
certutil -L -d "sql:$DB" -n "$CERT"
RUST_LOG=info RUST_BACKTRACE=1 neqo-server --cc cubic --qns-test "$TESTCASE" \
RUST_BACKTRACE=1 neqo-server -v --cc cubic --qns-test "$TESTCASE" \
--qlog-dir "$QLOGDIR" -d "$DB" -k "$CERT" '[::]:443' 2> >(tee -i -a "/logs/$ROLE.log" >&2)
;;

Expand Down

0 comments on commit 930e5c7

Please sign in to comment.