Commit c616446
authored
This reverts commit 7ecdd78. Upgrading
tracing-subscriber breaks logging in the proxy.
On `cargo run` on main:
```
Finished dev [unoptimized] target(s) in 43.90s
Running `target/debug/linkerd2-proxy`
Invalid configuration: no destination service configured
```
Versus `cargo run` with this change reverted:
```
Finished dev [unoptimized] target(s) in 52.61s
Running `target/debug/linkerd2-proxy`
[ 0.007639s] ERROR ThreadId(01) linkerd_app::env: LINKERD2_PROXY_IDENTITY_SVC_ADDR and LINKERD2_PROXY_IDENTITY_SVC_NAME must be set.
[ 0.007680s] ERROR ThreadId(01) linkerd_app::env: LINKERD2_PROXY_IDENTITY_TRUST_ANCHORS must be set.
[ 0.007687s] ERROR ThreadId(01) linkerd_app::env: LINKERD2_PROXY_IDENTITY_DIR must be set.
[ 0.007692s] ERROR ThreadId(01) linkerd_app::env: LINKERD2_PROXY_IDENTITY_LOCAL_NAME must be set.
[ 0.007697s] ERROR ThreadId(01) linkerd_app::env: LINKERD2_PROXY_IDENTITY_TOKEN_FILE must be set.
[ 0.007787s] INFO ThreadId(01) linkerd_app::env: `LINKERD2_PROXY_INBOUND_IPS` allowlist not configured, allowing all target addresses
[ 0.007850s] INFO ThreadId(01) linkerd_app::env: LINKERD2_PROXY_POLICY_CLUSTER_NETWORKS not set; cluster-scoped modes are unsupported
[ 0.007868s] WARN ThreadId(01) linkerd_app::env: LINKERD2_PROXY_INBOUND_DEFAULT_POLICY was not set; using `all-unauthenticated`
Invalid configuration: no destination service configured
```
Signed-off-by: Oliver Gould <[email protected]>
1 parent 1a39b3d commit c616446
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2567 | 2567 | | |
2568 | 2568 | | |
2569 | 2569 | | |
2570 | | - | |
| 2570 | + | |
2571 | 2571 | | |
2572 | | - | |
| 2572 | + | |
2573 | 2573 | | |
2574 | 2574 | | |
2575 | 2575 | | |
| |||
2598 | 2598 | | |
2599 | 2599 | | |
2600 | 2600 | | |
2601 | | - | |
| 2601 | + | |
2602 | 2602 | | |
2603 | | - | |
| 2603 | + | |
2604 | 2604 | | |
2605 | 2605 | | |
| 2606 | + | |
2606 | 2607 | | |
2607 | | - | |
2608 | 2608 | | |
2609 | 2609 | | |
2610 | 2610 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
0 commit comments