meilisearch / meilisearch-rust

Rust wrapper for the Meilisearch API.

Home Page:https://www.meilisearch.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move some debug logging to trace level

Jasperav opened this issue · comments

My logs are overflowed with meilisearch logging. I think a lot of logging should be done at trace level rather than the debug level. Take a look for example:

2022-11-13T19:21:17.360870Z DEBUG send_async{method=POST uri=http://127.0.0.1:7700/indexes/users/search}:handler{id=0}: isahc::handler: Found bundle for host: 0x6000030882a0 [serially]
2022-11-13T19:21:17.360890Z DEBUG send_async{method=POST uri=http://127.0.0.1:7700/indexes/users/search}:handler{id=0}: isahc::handler: Can not multiplex, even if we wanted to
2022-11-13T19:21:17.360913Z DEBUG send_async{method=POST uri=http://127.0.0.1:7700/indexes/users/search}:handler{id=0}: isahc::handler: Re-using existing connection #0 with host 127.0.0.1
2022-11-13T19:21:17.360931Z DEBUG send_async{method=POST uri=http://127.0.0.1:7700/indexes/users/search}:handler{id=0}: isahc::handler: Connected to 127.0.0.1 (127.0.0.1) port 7700 (#0)
2022-11-13T19:21:17.360981Z DEBUG send_async{method=POST uri=http://127.0.0.1:7700/indexes/users/search}:handler{id=0}: isahc::handler: We are completely uploaded and fine
2022-11-13T19:21:17.362746Z DEBUG send_async{method=POST uri=http://127.0.0.1:7700/indexes/users/search}:handler{id=0}: isahc::handler: Mark bundle as not supporting multiuse
2022-11-13T19:21:17.362898Z DEBUG send_async{method=POST uri=http://127.0.0.1:7700/indexes/users/search}:handler{id=0}: isahc::handler: Connection #0 to host 127.0.0.1 left intact

This is what is logged when I try to update a field. I would expect at most 1/2 lines, not 7.

Hey @Jasperav, thanks for the feedback. I think you might not be in the right repo. @curquiza can you confirm?

Hello @Jasperav and @bidoubiwa!

Yes, this is something you want to report to the product team, in the product repository discussions 😇

@curquiza @bidoubiwa Sure, I will report it over there.