Skip to content

Commit 57e17e6

Browse files
committed
feat: add verbose logging option to docker-compose.server.yml
Set VERBOSE=true to enable debug logging for all Rust components: VERBOSE=true docker compose -f docker-compose.server.yml up Default: info level with debug for platform_server, platform, challenge_orchestrator
1 parent ce04921 commit 57e17e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker-compose.server.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ services:
2727
- /var/run/docker.sock:/var/run/docker.sock
2828
environment:
2929
- DATABASE_URL=${DATABASE_URL}
30-
- RUST_LOG=info,platform_server=debug
30+
# Verbose logging: set VERBOSE=true to enable debug for all components
31+
- RUST_LOG=${VERBOSE:+debug,hyper=info,h2=info,tower=info}${VERBOSE:-info,platform_server=debug,platform=debug,challenge_orchestrator=debug}
32+
- RUST_BACKTRACE=${VERBOSE:+1}${VERBOSE:-0}
3133
- VALIDATOR_NAME=server
3234
dns:
3335
- 8.8.8.8

0 commit comments

Comments
 (0)