Merge pull request #9812 from satnam6502/es-logging

Add extra logging to help debug logging test issue
This commit is contained in:
Fabio Yeon 2015-06-15 13:27:38 -07:00
commit 650763f4e6

View File

@ -260,6 +260,7 @@ func ClusterLevelLoggingWithElasticsearch(f *Framework) {
response, err := bodyToJSON(body)
if err != nil {
Logf("After %v failed to unmarshal response: %v", time.Since(start), err)
Logf("Body: %s", string(body))
continue
}
hits, ok := response["hits"].(map[string]interface{})