Tail for Persistence?

Hi,

is there any way to check what openHAB writes to the persistence?
Something like trail?

Thanks…

Yes, you can increase the log level for your persistence package and see what is being written and read in the logs:

» https://www.openhab.org/docs/administration/logging.html

Just find the symbolic package name of your persistence service and then set the logging level for it to DEBUG. Here is an example for the influxdb persistence:

In the karaf shell:

openhab> list -s | grep influxdb
239 │ Active   │  80 │ 1.13.0                 │ org.openhab.persistence.influxdb

openhab> log:set DEBUG org.openhab.persistence.influxdb

After debugging, set the loglevel back to DEFAULT

Hi gersilex,

thanks - will try that!

BTW: How do I set the loglevel back to DEFAULT?