evgenyigumnov / cblt

Safe and fast minimalistic web server, written in Rust, that serves files from a directory and proxies requests to another server.
MIT License
40 stars 7 forks source link

Add `--silence` Option for Suppressing Logs #21

Open evgenyigumnov opened 1 week ago

evgenyigumnov commented 1 week ago

Implement an optional parameter --silence for the CBLT web server. When this flag is specified, the server should suppress INFO and ERROR level logs on stdout. This will be helpful for users who want a quieter output, especially when running the server in specific environments or scripts where log noise needs to be minimized.

Acceptance Criteria:

LYZJU2019 commented 1 week ago

Let me give it a try :-)

evgenyigumnov commented 1 week ago

for testing launch:

cargo run --release