How can I log outside of main Flask module?,app.run()