Changed to log multiple sensor values in one connection.