outposts: fix logger again

This commit is contained in:
Jens Langhammer
2020-10-19 18:52:17 +02:00
parent f8ad604e85
commit 169f3ebe5b
2 changed files with 4 additions and 8 deletions

View File

@ -1,7 +1,7 @@
"""Base Controller"""
from typing import Dict, List
from structlog import get_logger, wrap_logger
from structlog import get_logger
from structlog.testing import capture_logs
from passbook.lib.sentry import SentryIgnoredException
@ -21,9 +21,7 @@ class BaseController:
def __init__(self, outpost: Outpost):
self.outpost = outpost
self.logger = wrap_logger(
get_logger(), controller=self.__class__.__name__, outpost=self.outpost
)
self.logger = get_logger()
self.deployment_ports = {}
# pylint: disable=invalid-name