{"action":"created","issue":{"url":"https://api.github.com/repos/scalacenter/bloop/issues/707","repository_url":"https://api.github.com/repos/scalacenter/bloop","labels_url":"https://api.github.com/repos/scalacenter/bloop/issues/707/labels{/name}","comments_url":"https://api.github.com/repos/scalacenter/bloop/issues/707/comments","events_url":"https://api.github.com/repos/scalacenter/bloop/issues/707/events","html_url":"https://github.com/scalacenter/bloop/issues/707","id":378833268,"node_id":"MDU6SXNzdWUzNzg4MzMyNjg=","number":707,"title":"Respect logLevel setting from sbt","user":{"login":"olafurpg","id":1408093,"node_id":"MDQ6VXNlcjE0MDgwOTM=","avatar_url":"https://avatars0.githubusercontent.com/u/1408093?v=4","gravatar_id":"","url":"https://api.github.com/users/olafurpg","html_url":"https://github.com/olafurpg","followers_url":"https://api.github.com/users/olafurpg/followers","following_url":"https://api.github.com/users/olafurpg/following{/other_user}","gists_url":"https://api.github.com/users/olafurpg/gists{/gist_id}","starred_url":"https://api.github.com/users/olafurpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olafurpg/subscriptions","organizations_url":"https://api.github.com/users/olafurpg/orgs","repos_url":"https://api.github.com/users/olafurpg/repos","events_url":"https://api.github.com/users/olafurpg/events{/privacy}","received_events_url":"https://api.github.com/users/olafurpg/received_events","type":"User","site_admin":false},"labels":[{"id":867031826,"node_id":"MDU6TGFiZWw4NjcwMzE4MjY=","url":"https://api.github.com/repos/scalacenter/bloop/labels/ergonomics","name":"ergonomics","color":"144572","default":false},{"id":757012018,"node_id":"MDU6TGFiZWw3NTcwMTIwMTg=","url":"https://api.github.com/repos/scalacenter/bloop/labels/feature","name":"feature","color":"2360bc","default":false},{"id":804409643,"node_id":"MDU6TGFiZWw4MDQ0MDk2NDM=","url":"https://api.github.com/repos/scalacenter/bloop/labels/task%20/%20compile","name":"task / compile","color":"92e502","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-08T17:12:40Z","updated_at":"2018-11-09T07:08:44Z","closed_at":null,"author_association":"MEMBER","body":"To reproduce, create an empty project in a directory `warnings/`\r\n\r\n```scala\r\n// build.sbt\r\nlogLevel := LLevel.Error\r\nscalacOptions += \"-Ywarn-unused\"\r\n// src/main/scala/Foo.scala\r\nimport scala.concurrent.Future\r\nobject Foo\r\n```\r\nRunning from the shell `sbt bloopInstall && bloop compile warnings` results in the following warning\r\n```\r\nbloop compile warnings\r\nCompiling 1 Scala source to /Users/olafurpg/dev/scalafix/target/warnings/.bloop/warnings/scala-2.12/classes ...\r\n[W]  [E1] src/main/scala/Foo.scala:1:25\r\n[W]       Unused import\r\n[W]       L1: import scala.concurrent.Future\r\n[W]                                   ^\r\n[W] src/main/scala/Foo.scala: L1 [E1]\r\n```\r\nCompiling from sbt produces no warning\r\n```\r\n> compile\r\n[success] Total time: 1 s, completed Nov 8, 2018 6:10:33 PM\r\n```\r\n\r\nWhile testing the BSP integration in the Scalafix build I get a lot of unwanted warnings in the editor\r\n![2018-11-08 18 11 57](https://user-images.githubusercontent.com/1408093/48215101-cf1ef900-e381-11e8-9345-ed91950651c5.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/scalacenter/bloop/issues/comments/437270332","html_url":"https://github.com/scalacenter/bloop/issues/707#issuecomment-437270332","issue_url":"https://api.github.com/repos/scalacenter/bloop/issues/707","id":437270332,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzI3MDMzMg==","user":{"login":"olafurpg","id":1408093,"node_id":"MDQ6VXNlcjE0MDgwOTM=","avatar_url":"https://avatars0.githubusercontent.com/u/1408093?v=4","gravatar_id":"","url":"https://api.github.com/users/olafurpg","html_url":"https://github.com/olafurpg","followers_url":"https://api.github.com/users/olafurpg/followers","following_url":"https://api.github.com/users/olafurpg/following{/other_user}","gists_url":"https://api.github.com/users/olafurpg/gists{/gist_id}","starred_url":"https://api.github.com/users/olafurpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olafurpg/subscriptions","organizations_url":"https://api.github.com/users/olafurpg/orgs","repos_url":"https://api.github.com/users/olafurpg/repos","events_url":"https://api.github.com/users/olafurpg/events{/privacy}","received_events_url":"https://api.github.com/users/olafurpg/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T07:08:44Z","updated_at":"2018-11-09T07:08:44Z","author_association":"MEMBER","body":"I expect only compilation warnings to be filtered out, but I'd follow sbt here if `logLevel` applies to test logs as well. "}}
{"actor":{"display_login":"olafurpg"}}