| Crates.io | request-logging-proxy |
| lib.rs | request-logging-proxy |
| version | 0.1.0 |
| created_at | 2025-11-03 07:25:50.680037+00 |
| updated_at | 2025-11-03 07:25:50.680037+00 |
| description | A simple HTTP proxy that logs requests and responses |
| homepage | |
| repository | https://github.com/geo-engine/request-logging-proxy |
| max_upload_size | |
| id | 1914075 |
| size | 61,814 |
A proxy server that forwards requests and responses and logs them to stdout.
cargo build --workspace --all-targets
cargo run -- --target-url http://localhost:8484
This starts the proxy server on port 8123 forwarding requests to http://localhost:8484.
It logs requests and responses to stdout in the "vscode" format.
You can customize the target URL, port, and logger format:
cargo run -- \
--target-url http://localhost:8484 \
--port 8123 \
--logger vscode
cargo test --workspace
cargo install --path .
request-logging-proxy --target-url http://localhost:8484
vscode: Logs requests and responses in a format compatible with VSCode's REST (.http) extension.If you want other formats, feel free to open an issue or a pull request.
This project is licensed under the Apache License Version 2.0. See the LICENSE file for details.