Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuhtz committed Jul 16, 2024
1 parent 055bc0d commit c628183
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from fastapi import FastAPI
import uvicorn

from api.tooling.logger import logger
from .tooling.logger import logger
from routers.configuration.operations import init_router as init_configuration_router
from routers.database.operations import init_router as init_database_router
from routers.internal.operations import init_router as init_swissarmy_router
Expand Down
2 changes: 1 addition & 1 deletion api/tooling/logger.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from api.tooling.logger_init import logger_init
from .logger_init import logger_init

logger = logger_init() # specify 'DEBUG' if early debugging (env) is needed
1 change: 0 additions & 1 deletion api/tooling/logger_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import logging
import sys
from tracemalloc import start

class CustomFormatter(logging.Formatter):
"""
Expand Down

0 comments on commit c628183

Please sign in to comment.