Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/mcp_reverse_proxy/logging_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import socket

# Third-Party
from pythonjsonlogger import jsonlogger
from pythonjsonlogger.json import JsonFormatter

# Standard log format
LOG_FORMAT = "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
Expand All @@ -24,7 +24,7 @@
_CACHED_PID: int = os.getpid()


class CorrelationIdJsonFormatter(jsonlogger.JsonFormatter):
class CorrelationIdJsonFormatter(JsonFormatter):
"""JSON formatter with hostname and PID."""

def add_fields(self, log_record: dict, record: logging.LogRecord, message_dict: dict) -> None:
Expand Down
Loading