(flask) added logger