import os import logging.config from app import app as application from endpoints.secscan import secscan if os.environ.get('DEBUGLOG') == 'true': logging.config.fileConfig('conf/logging_debug.conf', disable_existing_loggers=False) application.register_blueprint(secscan, url_prefix='/secscan')