pymodbus-dev / pymodbus

A full modbus protocol written in python
Other
2.22k stars 907 forks source link

Truncated duration to milliseconds #1897

Closed jschlyter closed 9 months ago

jschlyter commented 9 months ago

As log messages such as Connection unexpectedly closed 1.049041748046875e-05 seconds into read of 8 bytes without response from slave before it closed connection is not very readable, I suggest that duration is truncated to milliseconds in Connection unexpectedly closed.