Skip to content

Commit

Permalink
JTT-458 Fix json logging in iso15118 (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
shalinnijel2 authored Dec 6, 2023
1 parent dded83f commit 96c96bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iso15118/shared/exi_codec.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def to_exi(self, msg_element: BaseModel, protocol_ns: str) -> bytes:
{exc}"
) from exc

if shared_settings[SettingKey.MESSAGE_LOG_EXI]:
if shared_settings[SettingKey.MESSAGE_LOG_JSON]:
logger.info(f"Message to encode (ns={protocol_ns}): {msg_content}")

try:
Expand Down

0 comments on commit 96c96bd

Please sign in to comment.