Add extra logging to help debug logging test issue

This commit is contained in:
Satnam Singh 2015-06-15 13:23:16 -07:00
parent 4e6bd63256
commit b45b3e1aeb

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{})