Skip to content

Commit f57ad5a

Browse files
fix type
1 parent 5b87ef8 commit f57ad5a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

packages/service-library/tests/test_logging_utils_filter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# pylint: disable=redefined-outer-name
2+
13
import logging
24

35
import pytest

services/agent/src/simcore_service_agent/core/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def _setup_logger(settings: ApplicationSettings):
3131
logging.root.setLevel(settings.LOGLEVEL.value)
3232
config_all_loggers(
3333
log_format_local_dev_enabled=settings.AGENT_VOLUMES_LOG_FORMAT_LOCAL_DEV_ENABLED,
34-
logger_filter_mapping=settings.AGENT_VOLUMES_LOG_FORMAT_LOCAL_DEV_ENABLED,
34+
logger_filter_mapping=settings.AGENT_VOLUMES_LOG_FILTER_MAPPING,
3535
)
3636

3737

services/web/server/src/simcore_service_webserver/application_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class ApplicationSettings(BaseCustomSettings, MixinLoggingSettings):
109109
# NOTE: suffix '_LOGLEVEL' is used overall
110110
)
111111

112-
WEBSERVER_LOG_FORMAT_LOCAL_DEV_ENABLED: bool = Field(
112+
WEBSERVER_LOG_FORMAT_LOCAL_DEV_ENABLED: dict = Field(
113113
default={},
114114
env=["WEBSERVER_LOG_FORMAT_LOCAL_DEV_ENABLED", "LOG_FORMAT_LOCAL_DEV_ENABLED"],
115115
description="Enables local development log format. WARNING: make sure it is disabled if you want to have structured logs!",

0 commit comments

Comments
 (0)