You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to log everything at info level by default, except for a specific span, which should only show warnings and above. Neither RUST_LOG=[the_span]=warn,info nor RUST_LOG=info,[the_span]=warn seem to accomplish this, the global info always overrides the more specific span selector. Is there any way to do this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to log everything at
info
level by default, except for a specific span, which should only showwarn
ings and above. NeitherRUST_LOG=[the_span]=warn,info
norRUST_LOG=info,[the_span]=warn
seem to accomplish this, the globalinfo
always overrides the more specific span selector. Is there any way to do this?Beta Was this translation helpful? Give feedback.
All reactions