{"action":"created","issue":{"url":"https://api.github.com/repos/wireapp/wire-ios-system/issues/20","repository_url":"https://api.github.com/repos/wireapp/wire-ios-system","labels_url":"https://api.github.com/repos/wireapp/wire-ios-system/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/wireapp/wire-ios-system/issues/20/comments","events_url":"https://api.github.com/repos/wireapp/wire-ios-system/issues/20/events","html_url":"https://github.com/wireapp/wire-ios-system/pull/20","id":313729045,"number":20,"title":"ZIOS-9100: Allow sending the logs from the previous session (app run)","user":{"login":"nicorsm","id":2906234,"avatar_url":"https://avatars0.githubusercontent.com/u/2906234?v=4","gravatar_id":"","url":"https://api.github.com/users/nicorsm","html_url":"https://github.com/nicorsm","followers_url":"https://api.github.com/users/nicorsm/followers","following_url":"https://api.github.com/users/nicorsm/following{/other_user}","gists_url":"https://api.github.com/users/nicorsm/gists{/gist_id}","starred_url":"https://api.github.com/users/nicorsm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicorsm/subscriptions","organizations_url":"https://api.github.com/users/nicorsm/orgs","repos_url":"https://api.github.com/users/nicorsm/repos","events_url":"https://api.github.com/users/nicorsm/events{/privacy}","received_events_url":"https://api.github.com/users/nicorsm/received_events","type":"User","site_admin":false},"labels":[{"id":414574556,"url":"https://api.github.com/repos/wireapp/wire-ios-system/labels/DO%20NOT%20MERGE","name":"DO NOT MERGE","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-12T13:33:08Z","updated_at":"2018-04-24T10:05:40Z","closed_at":"2018-04-24T09:59:48Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/wireapp/wire-ios-system/pulls/20","html_url":"https://github.com/wireapp/wire-ios-system/pull/20","diff_url":"https://github.com/wireapp/wire-ios-system/pull/20.diff","patch_url":"https://github.com/wireapp/wire-ios-system/pull/20.patch"},"body":"## What's new in this PR?\r\n\r\n### Issues\r\n\r\nLogs are discarded if the app crashes or gets closed.\r\n\r\n### Causes\r\n\r\nThat's because we're storing logs on memory, not on disk.\r\n\r\n### Solutions\r\n\r\nI've changed the behavior of logs in two ways:\r\n- logs are now saved on disk\r\n- logs are saved in two files, `current.log` and `previous.log`. Current file will be renamed Previous on app launch, creating a blank Current file at every launch. Both files will be attached to the email (coming with the `wire-ios` PR)\r\n"},"comment":{"url":"https://api.github.com/repos/wireapp/wire-ios-system/issues/comments/383877204","html_url":"https://github.com/wireapp/wire-ios-system/pull/20#issuecomment-383877204","issue_url":"https://api.github.com/repos/wireapp/wire-ios-system/issues/20","id":383877204,"user":{"login":"nicorsm","id":2906234,"avatar_url":"https://avatars0.githubusercontent.com/u/2906234?v=4","gravatar_id":"","url":"https://api.github.com/users/nicorsm","html_url":"https://github.com/nicorsm","followers_url":"https://api.github.com/users/nicorsm/followers","following_url":"https://api.github.com/users/nicorsm/following{/other_user}","gists_url":"https://api.github.com/users/nicorsm/gists{/gist_id}","starred_url":"https://api.github.com/users/nicorsm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicorsm/subscriptions","organizations_url":"https://api.github.com/users/nicorsm/orgs","repos_url":"https://api.github.com/users/nicorsm/repos","events_url":"https://api.github.com/users/nicorsm/events{/privacy}","received_events_url":"https://api.github.com/users/nicorsm/received_events","type":"User","site_admin":false},"created_at":"2018-04-24T10:05:40Z","updated_at":"2018-04-24T10:05:40Z","author_association":"CONTRIBUTOR","body":"Best of luck with the release of frameworks 😱"}}
{"actor":{"display_login":"nicorsm"}}