Replies: 2 comments
-
I’m traveling now so can’t run the code. Try asking in the tracing repo since this isn’t related to axum. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Completely dumb situation of mine. It was caused by me using wrong run:
cd ./my_app && cargo run | cd - So when I tried to write just a simple rust |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to set up logging/tracing. But it seems to be not working at all. I feel like I'm doing something completely wrong cause in all other frameworks I've used in my experience it wasn't a problem at all, I was even configuring logging. But here it seems like it just traces nothing no matter what features I toggle or what example from the docs I implement
So, here's my deps:
And my code:
So here I got a debug message that... doesn't print anything. And it doesn't print anything also no matter whether I try to change to
tracing::info!
or totracing::error!
. And it doesn't print anything on requests.What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions