Renamed logger

This commit is contained in:
Alberto Soutullo 2024-02-22 18:32:47 +01:00
parent b9c2d2ae57
commit 76a228be22
No known key found for this signature in database
GPG Key ID: A7CAC0D8343B0387
4 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# Python Imports
import src.logging.logger
import src.logger.logger
from kubernetes import client, config
# Project Imports

View File

@ -1,8 +1,8 @@
import logging.config
import yaml
with open('src/logging/logger_config.yaml', 'r') as f:
with open('src/logger/logger_config.yaml', 'r') as f:
config = yaml.safe_load(f.read())
logging.config.dictConfig(config)
logger = logging.getLogger(__name__)
log = logging.getLogger(__name__)