Live Logs

I am not getting any live logs. I am trying to monitor to see if a device periodically turns on every 25 minutes, stays on for 2 minutes and then turns off and then repeats. I am expecting to see what is in the below documentation, but I am seeing nothing. How are live logs supposed to work and under what circumstances? Seems straight forward but I am not seeing anything.

Logs | Hubitat Documentation

What logging options for this device do you have enabled on the device detail page for this device? And is it working? You could very well not see anything if you only have event description text logging enabled, or if the driver you're using only logs data that comes in from the device for debug logging, as many do. (But if it is, you'll see one or both of these, depending on your preferences, assuming a stock driver or one that follows these conventions.)

If it is related to the issue in this post, it might also be best to keep all discussion in the topic you already started:

1 Like

I have descriptive text logging. I turned on debug logging to see if that will work. Based upon what you are saying, that might not do anything either?

Description text logging should show you events, like the switch turning on or off. If that's not happening, it's probably not turning on or off, though it's possible something is off with the device or driver. The "Events" page/tab accessible from the device detail page will show you events the device actually reported back to the hub and would eliminate logs as a source of trouble, even if unlikely; but observing the actual device would be good too to see if there is a disconnect between reality and what it sends to the hub.

It's pretty unlikely the device is working if you don't see anything (except maybe the command names you're trying to run, which some drivers log) with all logging enabled, but it's possible if the device is behaving oddly or the driver was somehow not written or configured to catch this...

These were under past logs so it seems it's working, just not live logging. What can be the problem?

It's a Jasco ZW3103

They are working. I didn't understand that if I moved away from the page that live logs were lost.

Assuming you still have logging enabled, it would then be the case that the rule is not running for some reason, and:

  • one of the solutions I suggesed in your other post should work; and
2 Likes

What other post about logging? If there is a link to another post that would help me that I already started, please point me to it. Thanks!!

The post I linked to above (I linked there to your other topic), which includes the exact rule you provided in your logs screenshot (in this topic). This suggests that they are ultimately related issues that would be less confusing (and less clutter) addressed together instead of separately.


Adding on: it sounded like you might be talking about device logs here, whereas the screenshots above are from the app (rule) logs. Device logging generally works as I described above; app logging varies by app, but most apps generally have options, and Rule logging in particular work as I described in the documentation I linked to in your other topic.

2 Likes

They aren’t lost.

Live logs will display and continuously update as long as you keep the browser window open to the live log tab.

If you browse to another page, whatever was in that live log for that period of time can then typically be found in the past logs tab.

ETA: I agree with @bertabcd1234, since this appears to be a question about troubleshooting the sump pump rule you describe in another thread (more than one?), it would probably be easier for others to understand what you’re trying to do and what kinds of issues you’re running into if you can continue asking questions in the same thread.

1 Like

To eliminate confusion, please use the existing topic for additional help with the rule in question.

If you have additional questions about the logs feature, please consult the documentation or create a new topic with as much specific information as possible about your question. Thanks!