Skip to content

Commit

Permalink
disable qlog by default, resolve #38
Browse files Browse the repository at this point in the history
  • Loading branch information
cmj2002 committed Nov 24, 2024
1 parent 7e3b2d6 commit d988156
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/masque.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ If you are using consumer account, you can enable MASQUE by following the steps
1. run `docker exec -it warp bash` to get into the container shell
2. run `warp-cli tunnel protocol set MASQUE` to enable MASQUE
3. run `warp-cli settings list` to check if MASQUE is enabled

## QLog

By default, QLog is disabled in the image due to [a known issue that it will generate a large amount of logs](https://www.reddit.com/r/CloudFlare/comments/1g6h9rt/what_are_qlogs/). If you want to enable QLog, you can pass `DEBUG_ENABLE_QLOG=true` to the container.
7 changes: 7 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,12 @@ else
echo "Warp client already registered, skip registration"
fi

# disable qlog if DEBUG_ENABLE_QLOG is empty
if [ -z "$DEBUG_ENABLE_QLOG" ]; then
warp-cli debug qlog disable
else
warp-cli debug qlog enable
fi

# start the proxy
gost $GOST_ARGS

0 comments on commit d988156

Please sign in to comment.