Fix Flask logging

Change-Id: I4024b1f3fe9211227363ddb88a86507194142da6