Skip to content

Statsig SDK pinging server logging level is quite high #45

Description

@rhanton

So I directly mapped over the Statsig log levels (ERROR/WARN/INFO/DEBUG) to Logback levels, but the line here is causing a LOT of info logs:
https://github.com/statsig-io/java-server-sdk/blob/main/src/main/kotlin/com/statsig/sdk/network/HTTPHelper.kt#L51

I'd feel that this call, which happens "very often" is DEBUG at worse and really TRACE level (if you guys had a trace level in StatsigOptions.kt). For now I'm probably going to remap my side to something like:

  • ERROR -> logback error
  • WARN -> logback warn
  • INFO -> logback debug
  • DEBUG -> logback trace

to kill it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions