import logging from app import create_app logger = logging.getLogger(__name__) app = create_app() if __name__ == '__main__': logger.info("Starting the application") app.run(host='0.0.0.0', port=5001) logger.info("Application stopped")