{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2309","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2309/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2309/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2309/events","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/2309","id":64307639,"number":2309,"title":"Email links not logged to console when running `invoke server`","user":{"login":"lyndsysimon","id":131414,"avatar_url":"https://avatars.githubusercontent.com/u/131414?v=3","gravatar_id":"","url":"https://api.github.com/users/lyndsysimon","html_url":"https://github.com/lyndsysimon","followers_url":"https://api.github.com/users/lyndsysimon/followers","following_url":"https://api.github.com/users/lyndsysimon/following{/other_user}","gists_url":"https://api.github.com/users/lyndsysimon/gists{/gist_id}","starred_url":"https://api.github.com/users/lyndsysimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyndsysimon/subscriptions","organizations_url":"https://api.github.com/users/lyndsysimon/orgs","repos_url":"https://api.github.com/users/lyndsysimon/repos","events_url":"https://api.github.com/users/lyndsysimon/events{/privacy}","received_events_url":"https://api.github.com/users/lyndsysimon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/5%20-%20Pending%20Review","name":"5 - Pending Review","color":"cccccc"},{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/Bug:%20Staging","name":"Bug: Staging","color":"fbca04"},{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/Community","name":"Community","color":"f7c6c7"},{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/Priority%20-%20High","name":"Priority - High","color":"FF810F"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-25T16:06:56Z","updated_at":"2015-04-02T14:22:47Z","closed_at":null,"body":"h/t @cosenal for helping us find this issue on IRC.\r\n\r\nWhen `USE_EMAIL` is set to `False` in `website.settings` and a new user is registered, the email that would have been sent to the user is printed to the console as part of the log output. This is important for development, as copying and pasting this link is how a developer can confirm the registration of an account on their local copy.\r\n\r\nThis log no longer prints. Upon investigation, @HarryRybacki and I discovered that while it doesn't print when the server is run through `invoke server`, it does print when it is invoke through `python main.py`. The log lever for the email is `DEBUG`, and it appears that the logger's threshold is being changed somewhere when `inv server` is run, as no logs of that level are being printed.\r\n\r\nSince our documentation tells devs to run the OSF locally through Invoke, by running `inv server`, this issue is preventing community developers from creating and registering accounts locally."},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/88926216","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/2309#issuecomment-88926216","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2309","id":88926216,"user":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T14:22:47Z","updated_at":"2015-04-02T14:22:47Z","body":"@cosenal Merged. \r\n\r\nWill close this ticket once this is no longer an issue in both livereload and non-livereload modes."}}