OpenHab event logging more verbose after migrating: Update events logged although no change

Thanks Mark,

that helped me to fix it, thanks! - However, to be specific for others with the same problem - here are the detailss what I did manually

 1024 cd /tmp
 1025 wget https://github.com/openhab/openhab-distro/raw/main/distributions/openhab/src/main/resources/userdata/etc/log4j2.xml
 1026 diff /srv/openhab-userdata/etc/log4j2.xml /tmp/log4j2.xml
 1027 cp /srv/openhab-userdata/etc/log4j2.xml /home/openhabian/log4j2.xml.save
 1028 cat /tmp/log4j2.xml > /srv/openhab-userdata/etc/log4j2.xml
 1029 ls -al /srv/openhab-userdata/etc/log4j2.xml /tmp/log4j2.xml
 1030 sudo systemctl restart openhab.service

Result: No more “update” information with no item change at the INFO level!

BTW: Here’s the diff for userdata/etc/log4j2.xml :

# diff /home/openhabian/log4j2.xml.save /srv/openhab-userdata/etc/log4j2.xml
64a65,66
>               <Logger level="ERROR" name="openhab.event.ItemStateUpdatedEvent"/>
>               <Logger level="ERROR" name="openhab.event.GroupStateUpdatedEvent"/>
1 Like