Use logging facility of flask.
Use logging facility of flask.