{"action":"created","issue":{"url":"https://api.github.com/repos/Murodese/pynab/issues/136","labels_url":"https://api.github.com/repos/Murodese/pynab/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/Murodese/pynab/issues/136/comments","events_url":"https://api.github.com/repos/Murodese/pynab/issues/136/events","html_url":"https://github.com/Murodese/pynab/issues/136","id":54880604,"number":136,"title":"Improve logging","user":{"login":"AlanKK","id":6281705,"avatar_url":"https://avatars.githubusercontent.com/u/6281705?v=3","gravatar_id":"","url":"https://api.github.com/users/AlanKK","html_url":"https://github.com/AlanKK","followers_url":"https://api.github.com/users/AlanKK/followers","following_url":"https://api.github.com/users/AlanKK/following{/other_user}","gists_url":"https://api.github.com/users/AlanKK/gists{/gist_id}","starred_url":"https://api.github.com/users/AlanKK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlanKK/subscriptions","organizations_url":"https://api.github.com/users/AlanKK/orgs","repos_url":"https://api.github.com/users/AlanKK/repos","events_url":"https://api.github.com/users/AlanKK/events{/privacy}","received_events_url":"https://api.github.com/users/AlanKK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-20T13:05:01Z","updated_at":"2015-01-21T09:46:24Z","closed_at":null,"body":"Here's my proposal for improving logging.\r\n\r\n1.  Replace logging_file with logging_dir in config.py\r\n\r\n2.  Condense the format so most log msgs fit in a smaller window.\r\n\r\n3.  Move most of the normal errors to debug.\r\n\r\n4.  Change the file names from pynab_*.log to *.log.  So pynab_backfill.log becomes backfill.log.  It is just easier to use filename completion when they start with different letters."},"comment":{"url":"https://api.github.com/repos/Murodese/pynab/issues/comments/70809915","html_url":"https://github.com/Murodese/pynab/issues/136#issuecomment-70809915","issue_url":"https://api.github.com/repos/Murodese/pynab/issues/136","id":70809915,"user":{"login":"Murodese","id":86297,"avatar_url":"https://avatars.githubusercontent.com/u/86297?v=3","gravatar_id":"","url":"https://api.github.com/users/Murodese","html_url":"https://github.com/Murodese","followers_url":"https://api.github.com/users/Murodese/followers","following_url":"https://api.github.com/users/Murodese/following{/other_user}","gists_url":"https://api.github.com/users/Murodese/gists{/gist_id}","starred_url":"https://api.github.com/users/Murodese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Murodese/subscriptions","organizations_url":"https://api.github.com/users/Murodese/orgs","repos_url":"https://api.github.com/users/Murodese/repos","events_url":"https://api.github.com/users/Murodese/events{/privacy}","received_events_url":"https://api.github.com/users/Murodese/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T09:46:24Z","updated_at":"2015-01-21T09:46:24Z","body":"Stuff now logs into whatever name `log_init()` is given. If it's not called, it uses the calling script (how it was before). So backfill stuff now goes into backfill.log, updates into update.log, api into api.log, etc."}}