Skip to content

Commit

Permalink
chore: Change K8s request logs to debug level (argoproj#10938)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
  • Loading branch information
terrytangyuan authored and dpadhiar committed May 9, 2024
1 parent 66f4c9d commit b01f9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/logs/log-k8s-requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func (m k8sLogRoundTripper) RoundTrip(r *http.Request) (*http.Response, error) {
x, err := m.roundTripper.RoundTrip(r)
if x != nil {
verb, kind := k8s.ParseRequest(r)
log.Infof("%s %s %d", verb, kind, x.StatusCode)
log.Debugf("%s %s %d", verb, kind, x.StatusCode)
}
return x, err
}
Expand Down

0 comments on commit b01f9f6

Please sign in to comment.