Created
June 24, 2021 18:40
-
-
Save navarrothiago/51babebf8b2cd3aa755fd03906da1fc2 to your computer and use it in GitHub Desktop.
Envoy debug trace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkg/envoy/envoy.go b/pkg/envoy/envoy.go | |
index 2cb4f6536..fa6bb2e15 100644 | |
--- a/pkg/envoy/envoy.go | |
+++ b/pkg/envoy/envoy.go | |
@@ -209,8 +209,9 @@ func StartEnvoy(stateDir, logPath string, baseID uint64) *Envoy { | |
defer logWriter.Close() | |
for { | |
- logLevel := logging.GetLevel(logging.DefaultLogger) | |
- cmd := exec.Command(ciliumEnvoy, "-l", mapLogLevel(logLevel), "-c", bootstrapPath, "--base-id", strconv.FormatUint(baseID, 10), "--log-format", logFormat) | |
+ // logLevel := logging.GetLevel(logging.DefaultLogger) | |
+ // cmd := exec.Command(ciliumEnvoy, "-l", mapLogLevel("trace"), "-c", bootstrapPath, "--base-id", strconv.FormatUint(baseID, 10), "--log-format", logFormat) | |
+ cmd := exec.Command(ciliumEnvoy, "-l", "trace", "-c", bootstrapPath, "--base-id", strconv.FormatUint(baseID, 10), "--log-format", logFormat) | |
cmd.Stderr = logWriter | |
cmd.Stdout = logWriter | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment