This document outlines basic debugging techniques for the Torrust Tracker Deployer project.
The project uses tracing for logging. You can control the logging level using the RUST_LOG environment variable:
# Run with debug level logging (recommended for debugging)
RUST_LOG=debug cargo run --bin e2e-tests-fullSince e2e test output can be very long, use tee to see output in real-time while saving it to a file:
# See output and save to file simultaneously
RUST_LOG=debug cargo run --bin e2e-tests-full 2>&1 | tee debug-output.logYou can then search the captured output for specific patterns:
# Search for errors in the captured output
grep -i "error" debug-output.log