Commit 81bd70d
authored
cmd: --debug-pomerium raises only core log level, not envoy (#1441)
`--debug-pomerium` set `LogLevel=debug` but left `ProxyLogLevel` empty,
so envoy inherited debug (`firstNonEmpty(ProxyLogLevel, LogLevel,
debug)` in pkg/envoy/envoy.go), flooding logs with envoy output. Pin
`ProxyLogLevel=info` so `--debug-pomerium` raises only Pomerium core
logging; `--debug-envoy` still opts envoy into debug explicitly.
Behavior change: `--debug-pomerium` alone no longer produces envoy debug
logs.
---------
Signed-off-by: Denis Mishin <dmishin@pomerium.com>1 parent 35964ea commit 81bd70d
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
301 | 305 | | |
302 | 306 | | |
303 | 307 | | |
| |||
0 commit comments