changed logging to debug as in modbus