OpenTelemetry does not use the Rust logger #294

Open
opened 2022-04-12 13:43:45 +00:00 by quentin · 0 comments
Owner

I would expect that OpenTelemetry uses Rust's logger but instead it prints on stdout/stderr without having a log level or a module assigned.

 INFO  garage_web::web_server  > [::ffff:127.0.0.1]:60556 GET /
 INFO  garage_web::web_server  > GET 404 Not Found / Not found
 INFO  garage_web::web_server  > [::ffff:127.0.0.1]:60556 GET /favicon.ico
 INFO  garage_web::web_server  > GET 404 Not Found /favicon.ico Not found
OpenTelemetry trace error occurred. Exporter otlp encountered the following error(s): the grpc server returns error (The service is currently unavailable): , detailed error message: error trying to connect: tcp connect error: Connection refused (os error 111)
 INFO  garage_web::web_server  > [::ffff:127.0.0.1]:60556 GET /
 INFO  garage_web::web_server  > GET 404 Not Found / Not found
OpenTelemetry trace error occurred. Exporter otlp encountered the following error(s): the grpc server returns error (The service is currently unavailable): , detailed error message: error trying to connect: tcp connect error: Connection refused (os error 111)
I would expect that OpenTelemetry uses Rust's logger but instead it prints on stdout/stderr without having a log level or a module assigned. ``` INFO garage_web::web_server > [::ffff:127.0.0.1]:60556 GET / INFO garage_web::web_server > GET 404 Not Found / Not found INFO garage_web::web_server > [::ffff:127.0.0.1]:60556 GET /favicon.ico INFO garage_web::web_server > GET 404 Not Found /favicon.ico Not found OpenTelemetry trace error occurred. Exporter otlp encountered the following error(s): the grpc server returns error (The service is currently unavailable): , detailed error message: error trying to connect: tcp connect error: Connection refused (os error 111) INFO garage_web::web_server > [::ffff:127.0.0.1]:60556 GET / INFO garage_web::web_server > GET 404 Not Found / Not found OpenTelemetry trace error occurred. Exporter otlp encountered the following error(s): the grpc server returns error (The service is currently unavailable): , detailed error message: error trying to connect: tcp connect error: Connection refused (os error 111) ```
quentin added the
prio
low
kind
wrong-behavior
labels 2022-04-12 13:43:45 +00:00
quentin changed title from OpenTelemetry does not use Rust's logger to OpenTelemetry does not use the Rust logger 2022-04-12 13:43:56 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#294
No description provided.