How to load more log entries?

How do I load more log entries than is loaded initially?

I have a temperature sensor where I would like to the see entries further back than what is initially loaded, but when clicking on 'Show more...', then nothings happens :frowning:

I have recorded video showing my issue. What am I doing wrong?
In the video we can see that:

If I go to the Logs directly from the left side menu, then the url is: http://192.168.1.22/logs - expected
If I then choose a specific device, then the url keeps at http://192.168.1.22/logs but the entries are filtered. If I then hover the 'Show more...' then that url is: http://192.168.1.22/logs#

To me it looks like the logic behind loading older entries is broken, or is it just me?
Am I doing ot all wrong when I want to see previous log entries that are older than what is previously loaded?

Is there a place where I can see the global policy for logging?
I mean is there a global setting about auto delete log entries older than x days, or how is that controlled?

Link to video showing some of the above: Hubitat log entries.mp4

Log size is a fixed amount (about ~10MB IIRC), which is normally enough to pull in several hours worth of entries for each device. Each device has a limiter value near the bottom of the device page for the number of Events and States (attribute changes) that are retained also.

If you need to retain more there is a websocket interface that you can tap to store entries in another repository off the hub ws://<hubip>/logsocket

1 Like

Thanks for clarification

IMHO it still looks like that there is an issue with the 'Show more...' buttons that doesn't load any more entries.
If there are no more entries to load, then the button shouldn't be displayed.

Can't argue with that, but that nit has been there pretty much since the beginning of HE.

Have you gone to this Temp sensor's device page, and in the Device Information section, increased the "Event History Size" and the "State history size"? Depending upon what you are doing you may also need to increase the the events/hour size.

@calinatl Thanks that did the trick :slight_smile:

I'm wondering why there is a button without any functionality :frowning:
In my mind, if it doesn't do anything, then it shouldn't be there.
Just like anything else in life :wink:

1 Like

This could apply to some of my once co-workers.

Or maybe it was me.