Update main.py

This commit is contained in:
Erik 2025-04-11 12:22:37 +02:00 committed by GitHub
parent cf57fd0747
commit 756d3a94f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,6 +39,10 @@ PIPELINES = {}
PIPELINE_MODULES = {}
PIPELINE_NAMES = {}
#Add GLOBAL_LOG_LEVEL for Pipeplines
log_level = os.getenv('GLOBAL_LOG_LEVEL', 'INFO').upper()
logging.basicConfig(level=LOG_LEVELS[log_level])
def get_all_pipelines():
pipelines = {}