{"action":"created","issue":{"url":"https://api.github.com/repos/wal-e/wal-e/issues/268","repository_url":"https://api.github.com/repos/wal-e/wal-e","labels_url":"https://api.github.com/repos/wal-e/wal-e/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/wal-e/wal-e/issues/268/comments","events_url":"https://api.github.com/repos/wal-e/wal-e/issues/268/events","html_url":"https://github.com/wal-e/wal-e/issues/268","id":170801986,"number":268,"title":"Logging message doesn't show on exit code 2.","user":{"login":"monaka","id":101795,"avatar_url":"https://avatars.githubusercontent.com/u/101795?v=3","gravatar_id":"","url":"https://api.github.com/users/monaka","html_url":"https://github.com/monaka","followers_url":"https://api.github.com/users/monaka/followers","following_url":"https://api.github.com/users/monaka/following{/other_user}","gists_url":"https://api.github.com/users/monaka/gists{/gist_id}","starred_url":"https://api.github.com/users/monaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monaka/subscriptions","organizations_url":"https://api.github.com/users/monaka/orgs","repos_url":"https://api.github.com/users/monaka/repos","events_url":"https://api.github.com/users/monaka/events{/privacy}","received_events_url":"https://api.github.com/users/monaka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-12T05:33:56Z","updated_at":"2016-08-15T03:47:22Z","closed_at":null,"body":"I got troubles like deis/postgres#127 in the recovery mode.\r\n\r\nI inspect code and I got \"exit code 2 is from sys.exit(2) in cmd.py\".\r\nBut I can't figure out a reason why I couldn't find log messages generated by logging.critical().\r\nLogging messages may be buffered and lost? It should be flushed?\r\n"},"comment":{"url":"https://api.github.com/repos/wal-e/wal-e/issues/comments/239724126","html_url":"https://github.com/wal-e/wal-e/issues/268#issuecomment-239724126","issue_url":"https://api.github.com/repos/wal-e/wal-e/issues/268","id":239724126,"user":{"login":"monaka","id":101795,"avatar_url":"https://avatars.githubusercontent.com/u/101795?v=3","gravatar_id":"","url":"https://api.github.com/users/monaka","html_url":"https://github.com/monaka","followers_url":"https://api.github.com/users/monaka/followers","following_url":"https://api.github.com/users/monaka/following{/other_user}","gists_url":"https://api.github.com/users/monaka/gists{/gist_id}","starred_url":"https://api.github.com/users/monaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monaka/subscriptions","organizations_url":"https://api.github.com/users/monaka/orgs","repos_url":"https://api.github.com/users/monaka/repos","events_url":"https://api.github.com/users/monaka/events{/privacy}","received_events_url":"https://api.github.com/users/monaka/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T03:47:22Z","updated_at":"2016-08-15T03:47:22Z","body":"I added more than 10 logger.critical() before sys.exit(2). Log messages (10 or more) are shown.\r\n\r\nI read code around logging. But I looks there have no flushing code in logger.critlcal().\r\nSo I think WAL-E exits with system code 2 before the message by logger.clitical() was called.\r\n(Please notice me if I have mistaken as I'm not a Python hacker.)"}}
{"actor":{"display_login":"monaka"}}