{"action":"closed","issue":{"url":"https://api.github.com/repos/damonkohler/android-scripting/issues/636","labels_url":"https://api.github.com/repos/damonkohler/android-scripting/issues/636/labels{/name}","comments_url":"https://api.github.com/repos/damonkohler/android-scripting/issues/636/comments","events_url":"https://api.github.com/repos/damonkohler/android-scripting/issues/636/events","html_url":"https://github.com/damonkohler/android-scripting/issues/636","id":83067805,"number":636,"title":"Bug in com.trilead.ssh2.StreamGobbler","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/damonkohler/android-scripting/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/damonkohler/android-scripting/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/damonkohler/android-scripting/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-31T11:31:07Z","updated_at":"2015-05-31T16:49:42Z","closed_at":"2015-05-31T16:49:42Z","body":"```\nWhat device(s) are you experiencing the problem on?\nAll devices\n\nWhat firmware version are you running on the device?\nAll firmware\n\nWhat steps will reproduce the problem?\n1. Run any script and check log\n\nWhat is the expected output? What do you see instead?\nLog is not present or truncated.\n\nWhat version of the product are you using? On what operating system?\nAll versions.\n\nPlease provide any additional information below.\nI have traced the bug to com.trilead.ssh2.StreamGobbler. The code does not \nwrite what is remaining in the buffer when the stream is closed. This results \nin missing log text (for long logs) or empty log file (for short logs). I am \nsure it is simple to fix. Please let me know if you need any help.\n```\n\nOriginal issue reported on code.google.com by `adamli...@gmail.com` on 25 Jun 2012 at 8:37"}}