openenergysolutions / modbus-cpp

Modbus TCP master library in modern C++
https://aegis4ics.github.io/modbus-cpp/
Apache License 2.0
2 stars 0 forks source link

Review log levels #16

Open jadamcrain opened 6 years ago

jadamcrain commented 6 years ago

We need to go through and audit the log levels for the library.

For instance, logging of requests and response (pretty print w/ transaction id) has the same level (info) as low level stuff like "sent x bytes" / "received x bytes". I think the later would definitely be "debug".

Also wondering if we use "warning/error" when: 1) response timeout occurs 2) slave reponds w/ exception.