mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
Merge pull request #9812 from satnam6502/es-logging
Add extra logging to help debug logging test issue
This commit is contained in:
commit
650763f4e6
@ -260,6 +260,7 @@ func ClusterLevelLoggingWithElasticsearch(f *Framework) {
|
|||||||
response, err := bodyToJSON(body)
|
response, err := bodyToJSON(body)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
Logf("After %v failed to unmarshal response: %v", time.Since(start), err)
|
Logf("After %v failed to unmarshal response: %v", time.Since(start), err)
|
||||||
|
Logf("Body: %s", string(body))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
hits, ok := response["hits"].(map[string]interface{})
|
hits, ok := response["hits"].(map[string]interface{})
|
||||||
|
Loading…
Reference in New Issue
Block a user