Real Time monitoring

I have a question I have not been able to solve about real time monitoring what happens in the background processes. I would like to see real time what the different events in the background are doing. For example if I query http data from a website i would like to see what happens to it in the background to be able to troubleshoot. I tried telnet into OSGi but nothing happens when logged in to the console. Is there any commands you should apply to get the data running? Or is there somewhere else where you can view the background processes?

OH1 or OH2?

OH1

Sent from my Android phone using Symantec TouchDown (www.symantec.com)

To see the events you can tail the events.log file. To see what any given binding is doing you need to edit logback.xml and set the logging for that binding to debug or trace. An example of how to do this for zwave is at the bottom of the zwave wiki page. Just replace the zwave info with http and you will see more info than you can shake a stick at in your openhab.log or, if you configure it as shown in that wiki page, to a separate log file.

Thank you for your message.

I have a follow up question.
However, I could not find logback.xml via $fine -iname logback.xml you mentioned in both openhab2-addons-2.0.0.beta2 and openhab-offline-2.0.0-SNAPSHOT.

Did I make some mistake somewhere?

Thank you and any information will be greatly appreciated.

The above paths are for OH 1. I don’t know how OH 2 handles logging.

I got it. Thank you for your quick message.:slight_smile:

tail -f -n 10000 /var/log/openhab/openhab.log

Actually for the events.log that would be

tail -f /var/log/openhab/events.log

:slight_smile: