From 7dd04e3e7ab5ada2b709797b3b96e4567d4d5f4f Mon Sep 17 00:00:00 2001 From: Marius Raes <mariusraes@Mariuss-MacBook-Air.local> Date: Tue, 17 May 2022 21:50:22 +0200 Subject: [PATCH] fjernet unudvendig log --- source/customLogger/__init__.py | 3 +-- source/orchestrationLogic/orchestrator.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/source/customLogger/__init__.py b/source/customLogger/__init__.py index 4a9af2e1..8ee29926 100644 --- a/source/customLogger/__init__.py +++ b/source/customLogger/__init__.py @@ -1,6 +1,5 @@ import logging from logging_loki import LokiHandler, emitter - # for this is needed for the color level to work in grafana emitter.LokiEmitter.level_tag = "level" @@ -11,8 +10,8 @@ handler = LokiHandler( version="1", ) - logger = logging.getLogger("ROSE_LOG") +# At or above INFO will be logged logger.setLevel(logging.INFO) logger.addHandler(handler) diff --git a/source/orchestrationLogic/orchestrator.py b/source/orchestrationLogic/orchestrator.py index f639a59f..d145427c 100644 --- a/source/orchestrationLogic/orchestrator.py +++ b/source/orchestrationLogic/orchestrator.py @@ -35,7 +35,6 @@ class Orchestrator: logger.info("Project create api call succeeded" , extra={"tags": {"owner": owner, "project": name}}) - logger.info(RDPMembers) return name # Checks continously if the project creation is in progress -- GitLab