{"action":"created","issue":{"url":"https://api.github.com/repos/cmorisse/ikp3db/issues/11","repository_url":"https://api.github.com/repos/cmorisse/ikp3db","labels_url":"https://api.github.com/repos/cmorisse/ikp3db/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/cmorisse/ikp3db/issues/11/comments","events_url":"https://api.github.com/repos/cmorisse/ikp3db/issues/11/events","html_url":"https://github.com/cmorisse/ikp3db/pull/11","id":357811360,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzNzM4MjE0","number":11,"title":"IMP: Add support for log file, use termcolor","user":{"login":"kzidane","id":7230211,"node_id":"MDQ6VXNlcjcyMzAyMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/7230211?v=4","gravatar_id":"","url":"https://api.github.com/users/kzidane","html_url":"https://github.com/kzidane","followers_url":"https://api.github.com/users/kzidane/followers","following_url":"https://api.github.com/users/kzidane/following{/other_user}","gists_url":"https://api.github.com/users/kzidane/gists{/gist_id}","starred_url":"https://api.github.com/users/kzidane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzidane/subscriptions","organizations_url":"https://api.github.com/users/kzidane/orgs","repos_url":"https://api.github.com/users/kzidane/repos","events_url":"https://api.github.com/users/kzidane/events{/privacy}","received_events_url":"https://api.github.com/users/kzidane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-06T20:20:00Z","updated_at":"2018-10-22T14:03:19Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/cmorisse/ikp3db/pulls/11","html_url":"https://github.com/cmorisse/ikp3db/pull/11","diff_url":"https://github.com/cmorisse/ikp3db/pull/11.diff","patch_url":"https://github.com/cmorisse/ikp3db/pull/11.patch"},"body":"Most of our users are students who are new to computer science and programming so we constantly try to simplify things for them to avoid confusion and make their experience better. This PR just adds support for optionally redirecting ikp3db logs to a log file (through the `--ikpdb-log-file` command-line option if present), disabling ANSI coloring in this case. I've also switched to `termcolor` for coloring output which felt nicer than hard-coding ANSI escape sequences."},"comment":{"url":"https://api.github.com/repos/cmorisse/ikp3db/issues/comments/431844842","html_url":"https://github.com/cmorisse/ikp3db/pull/11#issuecomment-431844842","issue_url":"https://api.github.com/repos/cmorisse/ikp3db/issues/11","id":431844842,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTg0NDg0Mg==","user":{"login":"kzidane","id":7230211,"node_id":"MDQ6VXNlcjcyMzAyMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/7230211?v=4","gravatar_id":"","url":"https://api.github.com/users/kzidane","html_url":"https://github.com/kzidane","followers_url":"https://api.github.com/users/kzidane/followers","following_url":"https://api.github.com/users/kzidane/following{/other_user}","gists_url":"https://api.github.com/users/kzidane/gists{/gist_id}","starred_url":"https://api.github.com/users/kzidane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzidane/subscriptions","organizations_url":"https://api.github.com/users/kzidane/orgs","repos_url":"https://api.github.com/users/kzidane/repos","events_url":"https://api.github.com/users/kzidane/events{/privacy}","received_events_url":"https://api.github.com/users/kzidane/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T14:03:19Z","updated_at":"2018-10-22T14:03:19Z","author_association":"CONTRIBUTOR","body":"PS, I'll add support for enabling colors with log files today."}}
{"actor":{"display_login":"kzidane"}}