Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Excessive INFO logging from ConfigurationUpdater after latest deployment

未关闭
#9,508 9 条评论 1 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 2 天内回复

@jpbempel 已经在做这个了。

开始于 2025年9月22日。

评估

这个 Issue 还没有评估数据。

描述

comp: debugger type: bug report
Tracer Version(s)

1.53.0

Java Version(s)

21.0.8

JVM Vendor

Amazon Corretto

Bug Report

Title: Excessive INFO logging from ConfigurationUpdater after latest deployment

Description
After our latest deployment, we’ve observed an excessive amount of INFO logs coming from com.datadog.debugger.agent.ConfigurationUpdater. These logs appear to contain what should likely be DEBUG-level information.

Example logs:

[dd.trace 2025-09-10 13:40:36:595 +0000] [dd-task-scheduler] INFO com.datadog.debugger.agent.ConfigurationUpdater - Re-transforming class: ar.com.glamit.spring.configurations.config.ConfigurationCreatorConfig

[dd.trace 2025-09-10 13:40:36:730 +0000] [dd-task-scheduler] INFO com.datadog.debugger.agent.ConfigurationUpdater - Applying new probe configuration, changes: ConfigurationComparer{addedDefinitions=1, removedDefinitions=0, filteredListChanged=false, changedBlockedTypes=0}

Impact
These INFO logs are displayed as ERROR in the Datadog Web UI, creating noise and confusion for users monitoring logs.

Suspected cause
Upon reviewing the agent code, the logging level seems incorrectly set to INFO instead of DEBUG:

private void retransformClasses(List<Class<?>> classesToBeTransformed) {
  for (Class<?> clazz : classesToBeTransformed) {
    try {
      LOGGER.info("Re-transforming class: {}", clazz.getTypeName());
      instrumentation.retransformClasses(clazz);
    } catch (Exception ex) {
      ExceptionHelper.logException(LOGGER, ex, "Re-transform error:");
    } catch (Throwable ex) {
      ExceptionHelper.logException(LOGGER, ex, "Re-transform throwable:");
    }
  }
}

Expected behavior
These messages should likely be logged at the DEBUG level (or possibly TRACE), as they represent internal instrumentation details rather than actionable operational events.

Expected Behavior

Please confirm whether this logging level is intentional, and if not, consider adjusting it to reduce noise in production environments.

Reproduction Code

No response

主要语言
Java
星标
736
派生
364
平均合并
3 天 9 小时
30 天内合并 PR
182

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DataDog/dd-trace-java 的其他 Issue

查看 DataDog/dd-trace-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。