Commit ef046f3
[2/n] Remove otel layer from tracing logger (#3041)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> Drops OTEL log export and related config/deps, simplifying logger
setup and call sites.
>
> - **Logging (framework-cli)**:
> - Remove OpenTelemetry/OTLP export layer and related code
(`export_to`, OTEL layer creation, `LoggerError`, `CustomFields`).
> - Simplify `setup_logging` API (no `machine_id`) and modern/legacy
setup paths; retain session ID option and file/stdout outputs.
> - **CLI main**:
> - Update call site to `setup_logging(&config.logger)` and retrieve
`machine_id` afterward.
> - **Dependencies**:
> - Remove `opentelemetry*` crates and appender from `Cargo.toml` and
lockfile; adjust transitive references to generic `opentelemetry` where
needed.
> - Clean up cargo-machete ignored list (drop `opentelemetry-http`).
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
2244806. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
---------
Co-authored-by: Dave Seleno <958603+onelesd@users.noreply.github.com>1 parent a225eff commit ef046f3
File tree
4 files changed
+63
-402
lines changed- apps/framework-cli
- src
- cli
4 files changed
+63
-402
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | 87 | | |
105 | 88 | | |
106 | 89 | | |
| |||
137 | 120 | | |
138 | 121 | | |
139 | 122 | | |
140 | | - | |
| 123 | + | |
0 commit comments