{"action":"created","issue":{"url":"https://api.github.com/repos/gradle/gradle/issues/5138","repository_url":"https://api.github.com/repos/gradle/gradle","labels_url":"https://api.github.com/repos/gradle/gradle/issues/5138/labels{/name}","comments_url":"https://api.github.com/repos/gradle/gradle/issues/5138/comments","events_url":"https://api.github.com/repos/gradle/gradle/issues/5138/events","html_url":"https://github.com/gradle/gradle/issues/5138","id":316843018,"number":5138,"title":"unable to suppress/change gradle default output with 4.7","user":{"login":"diacone","id":6052247,"avatar_url":"https://avatars1.githubusercontent.com/u/6052247?v=4","gravatar_id":"","url":"https://api.github.com/users/diacone","html_url":"https://github.com/diacone","followers_url":"https://api.github.com/users/diacone/followers","following_url":"https://api.github.com/users/diacone/following{/other_user}","gists_url":"https://api.github.com/users/diacone/gists{/gist_id}","starred_url":"https://api.github.com/users/diacone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diacone/subscriptions","organizations_url":"https://api.github.com/users/diacone/orgs","repos_url":"https://api.github.com/users/diacone/repos","events_url":"https://api.github.com/users/diacone/events{/privacy}","received_events_url":"https://api.github.com/users/diacone/received_events","type":"User","site_admin":false},"labels":[{"id":460356597,"url":"https://api.github.com/repos/gradle/gradle/labels/a:bug","name":"a:bug","color":"d93f0b","default":false},{"id":906348243,"url":"https://api.github.com/repos/gradle/gradle/labels/affects-version:4.7","name":"affects-version:4.7","color":"c5def5","default":false},{"id":478384995,"url":"https://api.github.com/repos/gradle/gradle/labels/from:contributor","name":"from:contributor","color":"0052cc","default":false},{"id":429494937,"url":"https://api.github.com/repos/gradle/gradle/labels/in:logging","name":"in:logging","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"ghale","id":642656,"avatar_url":"https://avatars0.githubusercontent.com/u/642656?v=4","gravatar_id":"","url":"https://api.github.com/users/ghale","html_url":"https://github.com/ghale","followers_url":"https://api.github.com/users/ghale/followers","following_url":"https://api.github.com/users/ghale/following{/other_user}","gists_url":"https://api.github.com/users/ghale/gists{/gist_id}","starred_url":"https://api.github.com/users/ghale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghale/subscriptions","organizations_url":"https://api.github.com/users/ghale/orgs","repos_url":"https://api.github.com/users/ghale/repos","events_url":"https://api.github.com/users/ghale/events{/privacy}","received_events_url":"https://api.github.com/users/ghale/received_events","type":"User","site_admin":false},"assignees":[{"login":"ghale","id":642656,"avatar_url":"https://avatars0.githubusercontent.com/u/642656?v=4","gravatar_id":"","url":"https://api.github.com/users/ghale","html_url":"https://github.com/ghale","followers_url":"https://api.github.com/users/ghale/followers","following_url":"https://api.github.com/users/ghale/following{/other_user}","gists_url":"https://api.github.com/users/ghale/gists{/gist_id}","starred_url":"https://api.github.com/users/ghale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghale/subscriptions","organizations_url":"https://api.github.com/users/ghale/orgs","repos_url":"https://api.github.com/users/ghale/repos","events_url":"https://api.github.com/users/ghale/events{/privacy}","received_events_url":"https://api.github.com/users/ghale/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-04-23T14:40:48Z","updated_at":"2018-04-23T21:36:12Z","closed_at":null,"author_association":"NONE","body":"<!--- \r\nPlease follow the instructions below. We receive dozens of issues every week, so to stay productive, we will close issues that don't provide enough information. \r\n\r\nPlease open Android-related issues on the Android Issue Tracker at https://source.android.com/source/report-bugs\r\nPlease open Kotlin DSL-related issues at https://github.com/gradle/kotlin-dsl/issues\r\nPlease open Gradle Native-related issues at https://github.com/gradle/gradle-native/issues\r\n-->\r\n\r\n<!--- Provide a brief summary of the issue in the title above -->\r\n\r\n### Expected Behavior\r\ngiven this build script:\r\n```\r\nimport org.gradle.api.Task;\r\nimport org.gradle.api.tasks.TaskState;\r\nimport org.gradle.api.execution.TaskExecutionListener;\r\n\r\ngradle.useLogger(new TaskExecutionListener() {\r\n    void beforeExecute(Task t) {}\r\n    void afterExecute(Task t, TaskState s) {}\r\n})\r\n\r\ntask first {\r\n    doFirst { println \"Hello!\" }\r\n}\r\n\r\ntask second {\r\n    doFirst { println \"Hello 2!\" }\r\n}\r\n```\r\nI expect to see the following output:\r\n```\r\n./gradlew --console=plain first second\r\nHello!\r\nHello 2!\r\n```\r\n\r\n### Current Behavior\r\n```\r\n./gradlew --console=plain first second\r\n\r\n> Task :first\r\nHello!\r\n\r\n> Task :second\r\nHello 2!\r\n\r\n```\r\n\r\n### Context\r\nWe need to be able to suppress the default logging output in order to use custom formatting.\r\n\r\n### Steps to Reproduce (for bugs)\r\nJust run the above tasks with 4.6 nd 4.7"},"comment":{"url":"https://api.github.com/repos/gradle/gradle/issues/comments/383731121","html_url":"https://github.com/gradle/gradle/issues/5138#issuecomment-383731121","issue_url":"https://api.github.com/repos/gradle/gradle/issues/5138","id":383731121,"user":{"login":"oehme","id":1191797,"avatar_url":"https://avatars2.githubusercontent.com/u/1191797?v=4","gravatar_id":"","url":"https://api.github.com/users/oehme","html_url":"https://github.com/oehme","followers_url":"https://api.github.com/users/oehme/followers","following_url":"https://api.github.com/users/oehme/following{/other_user}","gists_url":"https://api.github.com/users/oehme/gists{/gist_id}","starred_url":"https://api.github.com/users/oehme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oehme/subscriptions","organizations_url":"https://api.github.com/users/oehme/orgs","repos_url":"https://api.github.com/users/oehme/repos","events_url":"https://api.github.com/users/oehme/events{/privacy}","received_events_url":"https://api.github.com/users/oehme/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T21:36:11Z","updated_at":"2018-04-23T21:36:11Z","author_association":"MEMBER","body":"@ghale Might be related to the recent logging changes, can you take a look please?"}}
{"actor":{"display_login":"oehme"}}