Skip to content

Why do the console output logs lack color identifiers? #159

Open
@aipeli

Description

@aipeli

.env

RUST_LOG=INFO
OTEL_SERVICE_NAME="api-gateway"

root Cargo.toml

tracing = "0.1"
tracing-subscriber = "0.3"
opentelemetry = "0.24"

init-tracing-opentelemetry = "0.20.0"
axum-tracing-opentelemetry = "0.19.1"
tonic-tracing-opentelemetry = "0.20.0"
tracing-opentelemetry-instrumentation-sdk = "0.19.1"

sub Cargo.toml

axum-tracing-opentelemetry = { workspace = true }
tonic-tracing-opentelemetry = { workspace = true }
init-tracing-opentelemetry = { workspace = true, features = [
  "otlp",
  "tracing_subscriber_ext",
  "logfmt",
] }
tracing-opentelemetry-instrumentation-sdk = { workspace = true, features = [
  "tracing_level_info",
] }
image

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions