Commit 46aa1f0
feat(config): enable startup logs by default (#7474)
* feat(config): enable startup logs by default
Changed the default value of startupLogs from false to true. Startup logs
provide helpful diagnostic information about tracer configuration and should
be enabled by default to improve observability and debugging experience.
Changes:
- Updated supported-configurations.json to set startupLogs default to true
- Updated config test expectations to reflect new default
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
* fix(test): disable startup logs in RASP integration tests
The startup log line was being captured by the stdioHandler and
triggering "Unexpected output in stdout/stderr after blocking request"
assertion failures.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
* fix(config): update DD_TRACE_STARTUP_LOGS implementation level to C
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
* fix(config): gate startup logs default behind DD_MAJOR version check
Breaking changes must be behind a version flag since code is shared
between versions. Keep supported-configurations.json default as false
and override in defaults.js with DD_MAJOR >= 6 so v5 retains the
original behavior.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
* test(config): use DD_MAJOR to determine startupLogs default in tests
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
---------
Co-authored-by: Claude Sonnet 4.6 <[email protected]>1 parent 5e82809 commit 46aa1f0
File tree
3 files changed
+4
-1
lines changed- integration-tests/appsec
- packages/dd-trace
- src/config
- test/config
3 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| 121 | + | |
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
| 581 | + | |
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
| |||
0 commit comments