Skip to content

Commit

Permalink
e2e: do not log http in api module while in debug mode
Browse files Browse the repository at this point in the history
API servers receive healthcheck requests which pollutes the logs.
  • Loading branch information
Choraden authored and mmatczuk committed Nov 13, 2023
1 parent 4a91f5f commit 5cab4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func main() {
for _, srv := range s.Compose.Services {
if strings.HasPrefix(srv.Image, "saucelabs/forwarder") {
srv.Environment["FORWARDER_LOG_LEVEL"] = "debug"
srv.Environment["FORWARDER_LOG_HTTP"] = "headers"
srv.Environment["FORWARDER_LOG_HTTP"] = "headers,api:errors"
}
}
}
Expand Down

0 comments on commit 5cab4f4

Please sign in to comment.