{"action":"created","issue":{"url":"https://api.github.com/repos/docker/machine/issues/2145","labels_url":"https://api.github.com/repos/docker/machine/issues/2145/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/2145/comments","events_url":"https://api.github.com/repos/docker/machine/issues/2145/events","html_url":"https://github.com/docker/machine/issues/2145","id":114711888,"number":2145,"title":"Driver plugins cannot write to the terminal from within the driver","user":{"login":"wenlock","id":1907138,"avatar_url":"https://avatars.githubusercontent.com/u/1907138?v=3","gravatar_id":"","url":"https://api.github.com/users/wenlock","html_url":"https://github.com/wenlock","followers_url":"https://api.github.com/users/wenlock/followers","following_url":"https://api.github.com/users/wenlock/following{/other_user}","gists_url":"https://api.github.com/users/wenlock/gists{/gist_id}","starred_url":"https://api.github.com/users/wenlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenlock/subscriptions","organizations_url":"https://api.github.com/users/wenlock/orgs","repos_url":"https://api.github.com/users/wenlock/repos","events_url":"https://api.github.com/users/wenlock/events{/privacy}","received_events_url":"https://api.github.com/users/wenlock/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/machine/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/machine/milestones/6","html_url":"https://github.com/docker/machine/milestones/0.5.1","labels_url":"https://api.github.com/repos/docker/machine/milestones/6/labels","id":1371285,"number":6,"title":"0.5.1","description":"","creator":{"login":"nathanleclaire","id":1476820,"avatar_url":"https://avatars.githubusercontent.com/u/1476820?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanleclaire","html_url":"https://github.com/nathanleclaire","followers_url":"https://api.github.com/users/nathanleclaire/followers","following_url":"https://api.github.com/users/nathanleclaire/following{/other_user}","gists_url":"https://api.github.com/users/nathanleclaire/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanleclaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanleclaire/subscriptions","organizations_url":"https://api.github.com/users/nathanleclaire/orgs","repos_url":"https://api.github.com/users/nathanleclaire/repos","events_url":"https://api.github.com/users/nathanleclaire/events{/privacy}","received_events_url":"https://api.github.com/users/nathanleclaire/received_events","type":"User","site_admin":false},"open_issues":40,"closed_issues":3,"state":"open","created_at":"2015-10-22T21:18:36Z","updated_at":"2015-11-03T15:13:21Z","due_on":"2015-11-16T08:00:00Z","closed_at":null},"comments":4,"created_at":"2015-11-02T23:56:02Z","updated_at":"2015-11-03T19:50:01Z","closed_at":null,"body":"When writing to the new plugin architecture, and we use the libmachine log package for logging, we don't get output for normal docker-machine commands from the plugin to show up on the console.\r\n\r\nExpected output is that stdout will receive messages from the plugin driver when the driver uses log.Info and log.Infof.    We do appear to be getting log.Error messages.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/machine/issues/comments/153468167","html_url":"https://github.com/docker/machine/issues/2145#issuecomment-153468167","issue_url":"https://api.github.com/repos/docker/machine/issues/2145","id":153468167,"user":{"login":"nathanleclaire","id":1476820,"avatar_url":"https://avatars.githubusercontent.com/u/1476820?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanleclaire","html_url":"https://github.com/nathanleclaire","followers_url":"https://api.github.com/users/nathanleclaire/followers","following_url":"https://api.github.com/users/nathanleclaire/following{/other_user}","gists_url":"https://api.github.com/users/nathanleclaire/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanleclaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanleclaire/subscriptions","organizations_url":"https://api.github.com/users/nathanleclaire/orgs","repos_url":"https://api.github.com/users/nathanleclaire/repos","events_url":"https://api.github.com/users/nathanleclaire/events{/privacy}","received_events_url":"https://api.github.com/users/nathanleclaire/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T19:50:01Z","updated_at":"2015-11-03T19:50:01Z","body":"Hm, @NeilW plugins should show `Debug` calls by default.  Does it not work for you? Could you provide a simple example to reproduce?\r\n\r\n> Additionally you're using two methods of setting debug in the code: libmachine.SetDebug(x) and log.IsDebug = x. It'd be useful to settle on one or the other.\r\n\r\nYeah, I agree it's ugly as we've been moving aggressively on shipping it -- the actual answer, I think, it that _neither_ should be used, but rather \"ShowDebug\" will be a configurable property on the eventual `libmachine` client struct that we move to."}}