Skip to content

Commit

Permalink
[test] remove logger middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
mxnoob committed Aug 19, 2024
1 parent d731609 commit 7f46982
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from app.core.db import engine
from app.core.init_db import create_first_superuser
from app.core.logger_config import LOGGING_CONFIG
from app.core.middleware import LoggerMiddleware

logging.config.dictConfig(LOGGING_CONFIG)
logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -45,7 +44,7 @@ def swagger_monkey_patch(*args, **kwargs):
allow_methods=['*'],
allow_headers=['*'],
)
app.add_middleware(LoggerMiddleware)
# app.add_middleware(LoggerMiddleware)

app.include_router(main_router)

Expand Down

0 comments on commit 7f46982

Please sign in to comment.