Platform information:
Hardware: CPUArchitecture/RAM/storage OrangePI
OS: what OS is used and which version Dietpi linux
Java Runtime Environment: which java platform is used and what version
openHAB version: openHAB 2.2.0 Build #1140
Issue of the topic: please be detailed explaining your issue
Please post configurations (if applicable):
Items configuration related to the issue
Sitemap configuration related to the issue
Rules code related to the issue
Services configuration related to the issue
If logs where generated please post these here using code fences:
Hello, since about the start of this month, logging output is completely empty.
I’ve checked the ownership of the files in linux ls -l and openhab is the owner
i’ve tried looking in karaf with log:tail and nothing either.
log:get shows that there should be info level debug info.
Where should i start to attack this issue… any suggestions please!!
rlkoshak
(Rich Koshak)
December 15, 2017, 10:45pm
2
If OH is up and running correctly then my first guess is that your SD card is failing or you have edited the logging config in such a way as to accidentally turn off the logging to the file.
KidSquid
(The Squid)
December 15, 2017, 11:14pm
3
If you have updated from a stable version (2.0)or an older snapshot to a newer snapshot version and followed one of the guides posted you may need to copy back in the new logging file.
I ran into this exact issue after upgrading to a newer snapshot which included the new logger.
Squid
1 Like
Hi @kidsquid , I think that is exactly what has happened to me. Could you
elaborate or point me towards more info or steps that I need to take?
Thanks. Also thanks @rlkoshak for reply.
KidSquid
(The Squid)
December 16, 2017, 11:49pm
5
This is the post that helped me get back on track…
Here is my setup for the new log4j2 logging package that is included in the latest upgrade of openHAB2 snapshot (2.2.0 Build >#1009)
All changes happen in the $OPENHAB_USERDATA/etc/org.ops4j.pax.logging.cfg file
(full path in Linux with apt installation: /var/lib/openhab2/etc/org.ops4j.pax.logging.cfg)
Notes
My OH2 installation is very stable and I don’t add many new stuff so I want my logs to show me only Warnings+.
I am running the following addons (in addons.cfg):binding = knx1, zwave, m…
Great, that helped me too. thanks for the pointer!