Skip to content

OTEL_JAVAAGENT_DEBUG enables okhttp debug #4821

@anuraaga

Description

@anuraaga

I'm surprised by this since I thought we only enable debug logging for io.opentelemetry, but I noticed that when enabling debug logging there is a lot of spam from okhttp like this

app_1        | [otel.javaagent 2021-12-07 04:39:19:400 +0000] [OkHttp http://otel:4317/...] DEBUG okhttp3.internal.concurrent.TaskRunner - Q10002 scheduled after   0 µs: OkHttp ConnectionPool
app_1        | [otel.javaagent 2021-12-07 04:39:19:400 +0000] [OkHttp TaskRunner] DEBUG okhttp3.internal.concurrent.TaskRunner - Q10002 starting              : OkHttp ConnectionPool
app_1        | [otel.javaagent 2021-12-07 04:39:19:400 +0000] [OkHttp ConnectionPool] DEBUG okhttp3.internal.concurrent.TaskRunner - Q10002 run again after 300 s : OkHttp ConnectionPool

Metadata

Metadata

Assignees

No one assigned

    Labels

    contribution welcomeRequest makes sense, maintainers probably won't have time, contribution would be welcomeenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions