{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/fletch/issues/134","labels_url":"https://api.github.com/repos/dart-lang/fletch/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/fletch/issues/134/comments","events_url":"https://api.github.com/repos/dart-lang/fletch/issues/134/events","html_url":"https://github.com/dart-lang/fletch/issues/134","id":107194744,"number":134,"title":"Control logging output from 'fletch' command","user":{"login":"kasperl","id":2156198,"avatar_url":"https://avatars.githubusercontent.com/u/2156198?v=3","gravatar_id":"","url":"https://api.github.com/users/kasperl","html_url":"https://github.com/kasperl","followers_url":"https://api.github.com/users/kasperl/followers","following_url":"https://api.github.com/users/kasperl/following{/other_user}","gists_url":"https://api.github.com/users/kasperl/gists{/gist_id}","starred_url":"https://api.github.com/users/kasperl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasperl/subscriptions","organizations_url":"https://api.github.com/users/kasperl/orgs","repos_url":"https://api.github.com/users/kasperl/repos","events_url":"https://api.github.com/users/kasperl/events{/privacy}","received_events_url":"https://api.github.com/users/kasperl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/fletch/labels/accepted","name":"accepted","color":"fbca04"},{"url":"https://api.github.com/repos/dart-lang/fletch/labels/started","name":"started","color":"006b75"},{"url":"https://api.github.com/repos/dart-lang/fletch/labels/Tools","name":"Tools","color":"5319e7"}],"state":"closed","locked":false,"assignee":{"login":"peter-ahe-google","id":5689005,"avatar_url":"https://avatars.githubusercontent.com/u/5689005?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-ahe-google","html_url":"https://github.com/peter-ahe-google","followers_url":"https://api.github.com/users/peter-ahe-google/followers","following_url":"https://api.github.com/users/peter-ahe-google/following{/other_user}","gists_url":"https://api.github.com/users/peter-ahe-google/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-ahe-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-ahe-google/subscriptions","organizations_url":"https://api.github.com/users/peter-ahe-google/orgs","repos_url":"https://api.github.com/users/peter-ahe-google/repos","events_url":"https://api.github.com/users/peter-ahe-google/events{/privacy}","received_events_url":"https://api.github.com/users/peter-ahe-google/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-09-18T12:39:08Z","updated_at":"2015-09-22T00:02:36Z","closed_at":"2015-09-22T00:02:36Z","body":"Currently, when running the 'fletch' command there's a lot of useful information getting logged:\r\n\r\n```\r\n$ fletch run file benchmarks/DeltaBlue.dart \r\nCompiled 'file:benchmarks/DeltaBlue.dart' to 4022 commands\r\n\r\n\r\n\r\nConnected to Fletch VM on TCP socket 50746 -> 55116\r\nDeltaBlue(RunTime): 51042 us.\r\n```\r\n\r\nIt would be interesting to hide the logging information by default (unless explicitly requested through some `verbose` or `show logs` option), but it would be even better if we could print the logs automatically in case of hitting an error condition. Something like:\r\n\r\n```\r\n$ fletch run benchmarks/DeltaBlue.dart\r\nDeltaBlue(RunTime): 51042 us.\r\n```\r\n\r\nand\r\n\r\n```\r\n$ fletch run benchmarks/DeltaBlue.dart\r\n[default: created session]\r\n[default: compiled 'file:benchmarks/DeltaBlue.dart' to 4022 commands]\r\n[default: connected to Fletch VM on TCP socket 50746 -> 55116]\r\nUnexpected error: Fletch VM is simply too fast!\r\n```"}}