Skip to content

Commit

Permalink
fix: Wrong order of logging tags
Browse files Browse the repository at this point in the history
  • Loading branch information
rumpelsepp committed Oct 27, 2022
1 parent 5392c2e commit c91b830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gallia/services/uds/ecu.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ async def _tester_present_worker(self, interval: float) -> None:
async with self.mutex:
payload = bytes([0x3E, 0x80])
await self.transport.write(payload)
self.logger.debug(payload.hex(), extra={"tags": ["uds", "write"]})
self.logger.debug(payload.hex(), extra={"tags": ["write", "uds"]})

# Hold the mutex for 10 ms to synchronize this background
# worker with the main sender task.
Expand Down

0 comments on commit c91b830

Please sign in to comment.