Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
This commit is contained in:
parent
eef6d6195f
commit
54e4f17b69
1 changed files with 2 additions and 2 deletions
|
@ -105,8 +105,8 @@ async fn main() {
|
||||||
.with_state(cache)
|
.with_state(cache)
|
||||||
.layer(
|
.layer(
|
||||||
TraceLayer::new_for_http()
|
TraceLayer::new_for_http()
|
||||||
.make_span_with(trace::DefaultMakeSpan::new().level(Level::DEBUG))
|
.make_span_with(trace::DefaultMakeSpan::new().level(Level::INFO))
|
||||||
.on_response(trace::DefaultOnResponse::new().level(Level::DEBUG)),
|
.on_response(trace::DefaultOnResponse::new().level(Level::INFO)),
|
||||||
)
|
)
|
||||||
.layer(Extension(QsQueryConfig::new(5, false).error_handler(
|
.layer(Extension(QsQueryConfig::new(5, false).error_handler(
|
||||||
|err| {
|
|err| {
|
||||||
|
|
Loading…
Reference in a new issue