Skip to content

Commit

Permalink
log_proxy_server: log loaded allowed_ecu_set
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Apr 15, 2024
1 parent bcb417c commit 27635b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/otaclient_iot_logging_server/log_proxy_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def __init__(self, queue: LogsQueue) -> None:
stripped_ecu_info = parse_ecu_info(server_cfg.ECU_INFO_YAML)
if stripped_ecu_info:
self._allowed_ecus = stripped_ecu_info.ecu_id_set
logger.info(
f"setup allowed_ecu_id from ecu_info.yaml: {stripped_ecu_info.ecu_id_set}"
)

# route: POST /{ecu_id}
async def logging_post_handler(self, request: Request):
Expand Down

0 comments on commit 27635b8

Please sign in to comment.