log from flask, add more base ports