Fix logging setup

uWSGI imports app, never executing it as `__main__`.