V4 Network binding behaviour change

Just updated to v4 (clean build from the RPi image and used backup/restore), went fine and everything running as it should.

However I’ve noticed a change in the behaviour of the Network binding.

I use this to detect if we are home, by performing a simple ping of our phones. This works (and still works) fine, except the log is now being filled up with “updated” events. In v3 the updated only appeared when it actually changed, it now appears on every ping, whether it has actually changed state or not.

Is this a bug, or intended behaviour? If intended, is there any way to suppress the log entries?

2023-08-18 06:47:18.017 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'NetworkDeviceSandrasPhoneOnline' updated to ON
2023-08-18 06:47:18.104 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'NetworkDeviceSandrasPhoneOnline' updated to ON
2023-08-18 06:47:23.251 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'NetworkDeviceSandrasPhoneOnline' updated to ON
2023-08-18 06:47:23.340 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'NetworkDeviceSandrasPhoneOnline' updated to ON
2023-08-18 06:47:28.482 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'NetworkDeviceSandrasPhoneOnline' updated to ON
2023-08-18 06:47:28.563 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'NetworkDeviceSandrasPhoneOnline' updated to ON
2023-08-18 06:47:33.723 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'NetworkDeviceSandrasPhoneOnline' updated to ON
2023-08-18 06:47:33.980 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'NetworkDeviceSandrasPhoneOnline' updated to ON
2023-08-18 06:47:39.177 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'NetworkDeviceSandrasPhoneOnline' updated to ON
2023-08-18 06:47:39.456 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'NetworkDeviceSandrasPhoneOnline' updated to ON
2023-08-18 06:47:44.496 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'NetworkDeviceSandrasPhoneOnline' updated to ON
2023-08-18 06:47:45.004 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'NetworkDeviceSandrasPhoneOnline' updated to ON
2023-08-18 06:47:50.188 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'NetworkDeviceSandrasPhoneOnline' updated to ON
2023-08-18 06:47:50.509 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'NetworkDeviceSandrasPhoneOnline' updated to ON

Jim

It’s not about the network binding.

Please search the forum, solution is already listed here: openHAB 4 migration FAQ - Setup, Configuration and Use / Migration - openHAB Community and here: openHAB 4.0 - a new major release is here! - #3 by Kai

Many thanks. I had searched the forum but it’s hitting the right keywords and knowing what you are then looking at!

Updated log4j2.xml and all is good :smiley:

Jim