carllerche / tower-web

A fast, boilerplate free, web framework for Rust
MIT License
980 stars 51 forks source link

Question: Is it possible to enable logging for tower-web without adding logging to my application? #137

Closed phrohdoh closed 5 years ago

phrohdoh commented 5 years ago

As the, unfortunately lengthy, title suggests I'd like to see logs from tower-web (and the deps it brings) without adding logging to my application.

I simply don't have anything useful to log in my code at this stage.

If I must add env_logger then so be it, but I'm hoping I can see the logs without adding that dep/code.

carllerche commented 5 years ago

Unfortunately, yes. As of now, this is the only way to get it. In the future, this might change.