{"action":"created","issue":{"url":"https://api.github.com/repos/nose-devs/nose2/issues/266","repository_url":"https://api.github.com/repos/nose-devs/nose2","labels_url":"https://api.github.com/repos/nose-devs/nose2/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/nose-devs/nose2/issues/266/comments","events_url":"https://api.github.com/repos/nose-devs/nose2/issues/266/events","html_url":"https://github.com/nose-devs/nose2/issues/266","id":133845025,"number":266,"title":"junit-xml always add logs in system_err","user":{"login":"slemesle","id":599375,"avatar_url":"https://avatars.githubusercontent.com/u/599375?v=3","gravatar_id":"","url":"https://api.github.com/users/slemesle","html_url":"https://github.com/slemesle","followers_url":"https://api.github.com/users/slemesle/followers","following_url":"https://api.github.com/users/slemesle/following{/other_user}","gists_url":"https://api.github.com/users/slemesle/gists{/gist_id}","starred_url":"https://api.github.com/users/slemesle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slemesle/subscriptions","organizations_url":"https://api.github.com/users/slemesle/orgs","repos_url":"https://api.github.com/users/slemesle/repos","events_url":"https://api.github.com/users/slemesle/events{/privacy}","received_events_url":"https://api.github.com/users/slemesle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-15T23:50:19Z","updated_at":"2016-02-18T09:30:45Z","closed_at":null,"body":"This is really strange because logs are typically not outputted in stderr. \r\nIn nosetests we did not have logs in case of successful test but now they are always displayed as system_err. \r\n\r\nMay it be possible to output them in system_out instead ?\r\n\r\nIn the testOutcome handler just replace system_err with this code ...\r\n\r\n```python\r\n        system_out = ET.SubElement(testcase, 'system-out')\r\n        system_out.text = string_cleanup(\r\n            '\\n'.join(event.metadata.get('logs', '')),\r\n            self.keep_restricted\r\n        )\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/nose-devs/nose2/issues/comments/185625497","html_url":"https://github.com/nose-devs/nose2/issues/266#issuecomment-185625497","issue_url":"https://api.github.com/repos/nose-devs/nose2/issues/266","id":185625497,"user":{"login":"slemesle","id":599375,"avatar_url":"https://avatars.githubusercontent.com/u/599375?v=3","gravatar_id":"","url":"https://api.github.com/users/slemesle","html_url":"https://github.com/slemesle","followers_url":"https://api.github.com/users/slemesle/followers","following_url":"https://api.github.com/users/slemesle/following{/other_user}","gists_url":"https://api.github.com/users/slemesle/gists{/gist_id}","starred_url":"https://api.github.com/users/slemesle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slemesle/subscriptions","organizations_url":"https://api.github.com/users/slemesle/orgs","repos_url":"https://api.github.com/users/slemesle/repos","events_url":"https://api.github.com/users/slemesle/events{/privacy}","received_events_url":"https://api.github.com/users/slemesle/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T09:30:45Z","updated_at":"2016-02-18T09:30:45Z","body":"No the idea is to get the logs output in the junit report at the good place. \r\nI use Jenkins to automate tests and my wish is to be able to view complete logs of the tests failed or not. \r\n\r\nSo I don't see the exact relation with the log capture I wish to have. So my point is just about logs capture."}}