{"action":"created","issue":{"url":"https://api.github.com/repos/jborg/attic/issues/50","labels_url":"https://api.github.com/repos/jborg/attic/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/jborg/attic/issues/50/comments","events_url":"https://api.github.com/repos/jborg/attic/issues/50/events","html_url":"https://github.com/jborg/attic/issues/50","id":28908040,"number":50,"title":"Use logging lib for messages","user":{"login":"Ernest0x","id":395598,"avatar_url":"https://avatars.githubusercontent.com/u/395598?v=3","gravatar_id":"","url":"https://api.github.com/users/Ernest0x","html_url":"https://github.com/Ernest0x","followers_url":"https://api.github.com/users/Ernest0x/followers","following_url":"https://api.github.com/users/Ernest0x/following{/other_user}","gists_url":"https://api.github.com/users/Ernest0x/gists{/gist_id}","starred_url":"https://api.github.com/users/Ernest0x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ernest0x/subscriptions","organizations_url":"https://api.github.com/users/Ernest0x/orgs","repos_url":"https://api.github.com/users/Ernest0x/repos","events_url":"https://api.github.com/users/Ernest0x/events{/privacy}","received_events_url":"https://api.github.com/users/Ernest0x/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-03-06T19:41:02Z","updated_at":"2015-03-09T18:05:47Z","closed_at":null,"body":"Instead of just calling print() to print messages, I would suggest to use the [logging](http://docs.python.org/3.2/library/logging.html) library for better logging capabilities, such as different logging levels (info, warning, error, debug), timestamps, log to syslog or other handlers, etc. For start, a simple handler to write to sys.stdout can be implemented.\r\n\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/jborg/attic/issues/comments/77908676","html_url":"https://github.com/jborg/attic/issues/50#issuecomment-77908676","issue_url":"https://api.github.com/repos/jborg/attic/issues/50","id":77908676,"user":{"login":"ThomasWaldmann","id":356103,"avatar_url":"https://avatars.githubusercontent.com/u/356103?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasWaldmann","html_url":"https://github.com/ThomasWaldmann","followers_url":"https://api.github.com/users/ThomasWaldmann/followers","following_url":"https://api.github.com/users/ThomasWaldmann/following{/other_user}","gists_url":"https://api.github.com/users/ThomasWaldmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasWaldmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasWaldmann/subscriptions","organizations_url":"https://api.github.com/users/ThomasWaldmann/orgs","repos_url":"https://api.github.com/users/ThomasWaldmann/repos","events_url":"https://api.github.com/users/ThomasWaldmann/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasWaldmann/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T18:05:47Z","updated_at":"2015-03-09T18:05:47Z","body":"Esp. for RemoteRepository debugging this could be useful.\r\n\r\nSometimes stuff behaves strangely, but only if it is remote. Tracebacks are not visible."}}