openhab-core/bundles/org.openhab.core.io.transport.modbus
Simonas Kazlauskas 81f2bd9366
[modbus] reduce log level when modbus slave returns DEVICE_BUSY exception (#3847)
* [modbus] reduce log level when modbus slave returns DEVICE_BUSY exception

This exception is meant to indicate that the request should be retried
shortly, essentially, and at least some of the devices I own seem to be
busy bees. Thus my logs receive significant spam of this warning.

Since the exception is transient and retrying it is the expected course
of action, I think it makes sense to reduce the log level here slightly
and only output an error when the retries get exhausted.

Signed-off-by: Simonas Kazlauskas <git@kazlauskas.me>

* Update bundles/org.openhab.core.io.transport.modbus/src/main/java/org/openhab/core/io/transport/modbus/internal/ModbusManagerImpl.java

Signed-off-by: Simonas Kazlauskas <github@kazlauskas.me>

---------

Signed-off-by: Simonas Kazlauskas <git@kazlauskas.me>
Signed-off-by: Simonas Kazlauskas <github@kazlauskas.me>
2024-04-28 18:04:40 +02:00
..
src [modbus] reduce log level when modbus slave returns DEVICE_BUSY exception (#3847) 2024-04-28 18:04:40 +02:00
.classpath Update Eclipse .classpath files (#3250) 2022-12-22 14:14:35 +01:00
.project Moved modbus transport from addons to core (#1892) 2020-12-08 12:55:52 +01:00
bnd.bnd Moved modbus transport from addons to core (#1892) 2020-12-08 12:55:52 +01:00
NOTICE Moved modbus transport from addons to core (#1892) 2020-12-08 12:55:52 +01:00
pom.xml Update plugins (#4197) 2024-04-27 09:34:39 +02:00