Logging stopped after update to openHAB 2.2.0 Build #1010


during the upgrade, apt-get informed that there would be a new version of file:
And i choose the default to keep the altered file allready on the system.
A mistake i guess, as since the reboot there are no log entries in openhab and events log any more.
Severall other files had new versions as well:
I went for “keep version present on system” for all.

Everything seems to run OK, but i have no means of control any more.
WOuld anyone have an idea how to fix this?
System is Ubuntu 16.04.3 LTS.
Many thanks in advance,
Best regards,

Thanks Udo, looks i should have read this first :frowning:
However, iFixedit! and actually it was easy, just needed to go like:

jarvis@JARVIS-MKII:~$ sudo mv /var/lib/openhab2/etc/org.ops4j.pax.logging.cfg /var/lib/openhab2/etc/org.ops4j.pax.logging.cfg.OLD
jarvis@JARVIS-MKII:~$ sudo cp /var/lib/openhab2/etc/org.ops4j.pax.logging.cfg.dpkg-dist /var/lib/openhab2/etc/org.ops4j.pax.logging.cfg

I’ll also post this in the linked thread in case others flunked like me…
Only backdraft is that my nice, tamed logs are getting filled up again.
But that is work for anyother day.
Best Regards,


Yes, you will have to adapt the old logging rules to the new syntax. :slight_smile:

I’ll definitly save that for a rainy day!
A veeery rainy day :slight_smile:

1 Like

Thanks a million for this!! I ran some dodgy script earlier that I thought messed it up… Now many hours later I find this post and voila, its working again!!

hi all,

I still dont get the log files to work again…after the upgrade to 2.2.0 (build 1066) , there is no information written to the logs. Also after copying the config as described above… still not working.

any ideas ?

best regards

thanks, that helped me too! :heart:

Same problem after update to OH 2.2.
Oli’s solution worked for me

You just should have said “yes” when being asked if the logging configuration should be replaced by the new one :wink: see here:

This was awesome information! Someone needs to add this to the upgrade list!