{"action":"created","issue":{"url":"https://api.github.com/repos/randy3k/UnitTesting/issues/41","repository_url":"https://api.github.com/repos/randy3k/UnitTesting","labels_url":"https://api.github.com/repos/randy3k/UnitTesting/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/randy3k/UnitTesting/issues/41/comments","events_url":"https://api.github.com/repos/randy3k/UnitTesting/issues/41/events","html_url":"https://github.com/randy3k/UnitTesting/issues/41","id":152898147,"number":41,"title":"logging output during tests","user":{"login":"randy3k","id":1690993,"avatar_url":"https://avatars.githubusercontent.com/u/1690993?v=3","gravatar_id":"","url":"https://api.github.com/users/randy3k","html_url":"https://github.com/randy3k","followers_url":"https://api.github.com/users/randy3k/followers","following_url":"https://api.github.com/users/randy3k/following{/other_user}","gists_url":"https://api.github.com/users/randy3k/gists{/gist_id}","starred_url":"https://api.github.com/users/randy3k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randy3k/subscriptions","organizations_url":"https://api.github.com/users/randy3k/orgs","repos_url":"https://api.github.com/users/randy3k/repos","events_url":"https://api.github.com/users/randy3k/events{/privacy}","received_events_url":"https://api.github.com/users/randy3k/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-05-03T23:35:18Z","updated_at":"2016-05-06T21:53:54Z","closed_at":"2016-05-04T00:53:21Z","body":"@niosus wrote in https://github.com/randy3k/UnitTesting-example/issues/3\r\n\r\n> I would like to see debug output during the run of my tests. Currently I can just see if the tests failed or not and the appropriate values in case they failed.\r\n\r\n> Is it possible to show debug output always? Either output from print statements or, preferably using logging?\r\n\r\n> Thanks!"},"comment":{"url":"https://api.github.com/repos/randy3k/UnitTesting/issues/comments/217569550","html_url":"https://github.com/randy3k/UnitTesting/issues/41#issuecomment-217569550","issue_url":"https://api.github.com/repos/randy3k/UnitTesting/issues/41","id":217569550,"user":{"login":"niosus","id":1893598,"avatar_url":"https://avatars.githubusercontent.com/u/1893598?v=3","gravatar_id":"","url":"https://api.github.com/users/niosus","html_url":"https://github.com/niosus","followers_url":"https://api.github.com/users/niosus/followers","following_url":"https://api.github.com/users/niosus/following{/other_user}","gists_url":"https://api.github.com/users/niosus/gists{/gist_id}","starred_url":"https://api.github.com/users/niosus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niosus/subscriptions","organizations_url":"https://api.github.com/users/niosus/orgs","repos_url":"https://api.github.com/users/niosus/repos","events_url":"https://api.github.com/users/niosus/events{/privacy}","received_events_url":"https://api.github.com/users/niosus/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T21:53:54Z","updated_at":"2016-05-06T21:53:54Z","body":"I think the setting is wrong. It works if I use `caputre_console` instead of `capture_console`.\r\n\r\nAlso, it doesn't seem to capture the outputs of `logging`. At least in my case. It prints the lines printed with `print(...)`"}}