mirror of
https://github.com/vacp2p/10ksim.git
synced 2025-02-22 19:18:38 +00:00
Renamed logger
This commit is contained in:
parent
b9c2d2ae57
commit
76a228be22
2
main.py
2
main.py
@ -1,5 +1,5 @@
|
||||
# Python Imports
|
||||
import src.logging.logger
|
||||
import src.logger.logger
|
||||
from kubernetes import client, config
|
||||
|
||||
# Project Imports
|
||||
|
@ -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__)
|
Loading…
x
Reference in New Issue
Block a user