{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/1331","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/1331/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/1331/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/1331/events","html_url":"https://github.com/dotnet/cli/issues/1331","id":132564142,"number":1331,"title":"Consider writing errors to the error stream","user":{"login":"pranavkm","id":174281,"avatar_url":"https://avatars.githubusercontent.com/u/174281?v=3","gravatar_id":"","url":"https://api.github.com/users/pranavkm","html_url":"https://github.com/pranavkm","followers_url":"https://api.github.com/users/pranavkm/followers","following_url":"https://api.github.com/users/pranavkm/following{/other_user}","gists_url":"https://api.github.com/users/pranavkm/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavkm/subscriptions","organizations_url":"https://api.github.com/users/pranavkm/orgs","repos_url":"https://api.github.com/users/pranavkm/repos","events_url":"https://api.github.com/users/pranavkm/events{/privacy}","received_events_url":"https://api.github.com/users/pranavkm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/cli/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/5","html_url":"https://github.com/dotnet/cli/milestones/RTM-March","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/5/labels","id":1389772,"number":5,"title":"RTM-March","description":"","creator":{"login":"Petermarcu","id":8228359,"avatar_url":"https://avatars.githubusercontent.com/u/8228359?v=3","gravatar_id":"","url":"https://api.github.com/users/Petermarcu","html_url":"https://github.com/Petermarcu","followers_url":"https://api.github.com/users/Petermarcu/followers","following_url":"https://api.github.com/users/Petermarcu/following{/other_user}","gists_url":"https://api.github.com/users/Petermarcu/gists{/gist_id}","starred_url":"https://api.github.com/users/Petermarcu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Petermarcu/subscriptions","organizations_url":"https://api.github.com/users/Petermarcu/orgs","repos_url":"https://api.github.com/users/Petermarcu/repos","events_url":"https://api.github.com/users/Petermarcu/events{/privacy}","received_events_url":"https://api.github.com/users/Petermarcu/received_events","type":"User","site_admin":false},"open_issues":95,"closed_issues":14,"state":"open","created_at":"2015-11-02T19:50:04Z","updated_at":"2016-02-25T19:11:45Z","due_on":"2016-03-16T07:00:00Z","closed_at":null},"comments":4,"created_at":"2016-02-09T23:09:28Z","updated_at":"2016-02-25T19:13:18Z","closed_at":null,"body":"We've set up our CI to read any output written to the error stream and format it so that errors get highlighted in the CI's summary and build failure emails. This worked well with `dnu build` \\ `dnu pack` \\ `dnu restore` since errors generated by these tools were written to standard error.\r\nUnfortunately this is not the case with `dotnet` tools. The `build` and `compile` commands write errors to standard out and color codes them.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/174281/12933782/cb5f3b68-cf3e-11e5-9186-7faa8f6c2e22.png)\r\n\r\n `dotnet restore` on the other hand writes errors to standard out but prefixes them with the log level:\r\n```\r\ninfo :   NotFound https://api.nuget.org/v3-flatcontainer/sfkldsjfkljdklf/index.json 309ms\r\ninfo :   NotFound https://dotnet.myget.org/F/dotnet-core/api/v3/flatcontainer/sfkldsjfkljdklf/index.json 452ms\r\nerror: Unable to resolve sfkldsjfkljdklf (>= 3.3.0-beta) for DNXCore,Version=v5.0.\r\n```\r\n\r\nWhat's the recommended way to digest these errors in automated systems?"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/188936104","html_url":"https://github.com/dotnet/cli/issues/1331#issuecomment-188936104","issue_url":"https://api.github.com/repos/dotnet/cli/issues/1331","id":188936104,"user":{"login":"yishaigalatzer","id":1238711,"avatar_url":"https://avatars.githubusercontent.com/u/1238711?v=3","gravatar_id":"","url":"https://api.github.com/users/yishaigalatzer","html_url":"https://github.com/yishaigalatzer","followers_url":"https://api.github.com/users/yishaigalatzer/followers","following_url":"https://api.github.com/users/yishaigalatzer/following{/other_user}","gists_url":"https://api.github.com/users/yishaigalatzer/gists{/gist_id}","starred_url":"https://api.github.com/users/yishaigalatzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yishaigalatzer/subscriptions","organizations_url":"https://api.github.com/users/yishaigalatzer/orgs","repos_url":"https://api.github.com/users/yishaigalatzer/repos","events_url":"https://api.github.com/users/yishaigalatzer/events{/privacy}","received_events_url":"https://api.github.com/users/yishaigalatzer/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T19:13:18Z","updated_at":"2016-02-25T19:13:18Z","body":"It was moved, see the link above"}}