Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide ERROR rocket::server::_] No matching routes for log messages #70

Open
litetex opened this issue Jan 8, 2025 · 1 comment
Open

Comments

@litetex
Copy link
Contributor

litetex commented Jan 8, 2025

When a non existing path is requested from the webserver - e.g. /favicon.ico - the following is logged:

[2025-01-01T01:23:45Z ERROR rocket::server::_] No matching routes for GET /favicon.ico image/avif.

These log messages are irrelevant and should be hidden by default.

@litetex
Copy link
Contributor Author

litetex commented Jan 8, 2025

Workaround for now:

Set RUST_LOG environment variable to rocket::server::_=off,error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant