Malfunction of logs in OH5 Windows

  • Platform information:
    • Hardware: Intel Core i5 4th gen / 8 Gb RAM DDR3 / SSD PCI Exp 128 Mb
    • OS: W10 Home with extended safety pack until october 2026
    • Java Runtime Environment: Zulu 21
    • openHAB version: 5.1.0.M3
  • Issue of the topic: malfunction of logs
  • Please post configurations (if applicable):
    • Items configuration: nothing specific
    • Sitemap configuration: nothing specific
    • Rules code related to the issue:

Hello

I updated to OH 5.1.0 from OH 4.3 in December 2025 and later in January 2026 to OH5.1.1., and some days ago I noticed about a malfunction in log files and log setup in bindings.

I have read some posts about this topic but I must admit than I can’t solve anything specific myself. SOmebody recommended to have a look to the Log4j2.xml file but I don’t know what to do.

Log files seem freezed since 11/02/25

Besides, it is not possible to configure log levels in any binding. Let’s take Tado binding as an example:

And after clicking onto the blue gear icon placed right at the top (“Configure add on”, nothing happens, and the screen is empty:

Any suggestions?

Thank you all in advance

Kind regards

Diego

Follow the suggestion and look at the $OH_HOME/userdata/etc file. Is it empty? Does it appear to be truncated (e.g. stops mid line).

The default file can be found at openhab-distro/launch/app/runtime/log4j2.xml at main · openhab/openhab-distro · GitHub. If all else fails you can replace your version of this file with this one.

Thank you Rich!

It’s definitely fixed; I have just dowloaded the file and kill the older in my folder and it worked. The only difference was a gap between two lines.

And I have just learnt how to download files from GitHub; it’s been my first time.

Kind Regards

Diego