{"action":"created","issue":{"url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/446","repository_url":"https://api.github.com/repos/serenity-bdd/serenity-core","labels_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/446/comments","events_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/446/events","html_url":"https://github.com/serenity-bdd/serenity-core/issues/446","id":159668025,"number":446,"title":"Serenity RestAssured - Logging config cannot be set","user":{"login":"jsundhar","id":10523175,"avatar_url":"https://avatars.githubusercontent.com/u/10523175?v=3","gravatar_id":"","url":"https://api.github.com/users/jsundhar","html_url":"https://github.com/jsundhar","followers_url":"https://api.github.com/users/jsundhar/followers","following_url":"https://api.github.com/users/jsundhar/following{/other_user}","gists_url":"https://api.github.com/users/jsundhar/gists{/gist_id}","starred_url":"https://api.github.com/users/jsundhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsundhar/subscriptions","organizations_url":"https://api.github.com/users/jsundhar/orgs","repos_url":"https://api.github.com/users/jsundhar/repos","events_url":"https://api.github.com/users/jsundhar/events{/privacy}","received_events_url":"https://api.github.com/users/jsundhar/received_events","type":"User","site_admin":false},"labels":[{"id":144739829,"url":"https://api.github.com/repos/serenity-bdd/serenity-core/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-10T16:02:11Z","updated_at":"2016-11-28T11:36:07Z","closed_at":null,"body":"Hi,\n\nI want to user SerenityRest to do some API testing, However I want the response to be logged only when there is any failure. However the following code prints the response for all requests. Is there a way to override it? I am using 1.1.36 version\n\n```\nRequestSpecification requestSpecification = net.serenitybdd.rest.SerenityRest.given();\n    requestSpecification.contentType(ContentType.JSON);\n    RestAssuredConfig config = config().logConfig(new LogConfig().enableLoggingOfRequestAndResponseIfValidationFails());\n    requestSpecification.config(config);\n    Response response = requestSpecification.get(\"http://jsonplaceholder.typicode.com/posts/1\");\n```\n"},"comment":{"url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/comments/263249473","html_url":"https://github.com/serenity-bdd/serenity-core/issues/446#issuecomment-263249473","issue_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/446","id":263249473,"user":{"login":"jsundhar","id":10523175,"avatar_url":"https://avatars.githubusercontent.com/u/10523175?v=3","gravatar_id":"","url":"https://api.github.com/users/jsundhar","html_url":"https://github.com/jsundhar","followers_url":"https://api.github.com/users/jsundhar/followers","following_url":"https://api.github.com/users/jsundhar/following{/other_user}","gists_url":"https://api.github.com/users/jsundhar/gists{/gist_id}","starred_url":"https://api.github.com/users/jsundhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsundhar/subscriptions","organizations_url":"https://api.github.com/users/jsundhar/orgs","repos_url":"https://api.github.com/users/jsundhar/repos","events_url":"https://api.github.com/users/jsundhar/events{/privacy}","received_events_url":"https://api.github.com/users/jsundhar/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T11:36:07Z","updated_at":"2016-11-28T11:36:07Z","body":"Hi, Do we have any fix for this?"}}
{"actor":{"display_login":"jsundhar"}}