apparently logging doesn't work with flask