Skip to content

Commit 84577a2

Browse files
fix type
1 parent 3a9f944 commit 84577a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/service-library/src/servicelib/logging_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def config_all_loggers(
113113
# Check if the logger has any handlers or is in active use
114114
if not logger.hasHandlers():
115115
_logger.warning(
116-
f"Logger %s does not have any handlers. Filter will not be added.",
116+
"Logger %s does not have any handlers. Filter will not be added.",
117117
logger_name,
118118
)
119119
continue

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: dict = Field(
112+
WEBSERVER_LOG_FORMAT_LOCAL_DEV_ENABLED: bool = Field(
113113
default=False,
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)