[2.4.1.177] Missing Logs?

I was trying to troubleshoot an issue from a few days ago and when I go back through my logs, I can't seem to go any further back than 21:00ish yesterday....

I haven't cleared my logs in quite a long time. And I just looked at my other Hubitat, both seem to have strangely truncated logs that go back until yesterday and then I cant see anything else. The "show more" button seems to do nothing.

Can anybody else confirm a smiliar situation? I just updated both hubs to 2.4.1.177 this morning. [C-5 and C-8 Pro]

Mine on C8 with 177 go back to 0700 on 5/25 which is (I think) when I last truncated them.

Huh.. Do you have any devices/rules that spam the logs a lot? I have one particular rule that produces hundreds of "Required Expression false" entries every day in the log, but I can't even see past 8:56AM today on that device because "Show more..." does nothing.

No spammers. After I hit the “end” the “Show More…” goes away. Does it on your log?

It's weird. If I hit "show more..." nothing happens. If I hit it like 10 times, it eventually disappears, but no additional logs were ever shown.

This is C8, not pro. Haven’t updated my C7 yet. I will check it soon.

It's doing it on my C-5 too. I'm going to try another machine, maybe its some browser cache problem.

I’m viewing on an iPad Pro. Safari browser.

No I confirmed it's definitely happening on two different desktops with two different browsers (chrome on Windows 10, Edge on Windows 11).

Also I can confirm that the "show more..." button does work on both browsers on the past logs page with no filters selected, but once I filter the device I wish to look at, the show more button isn't working, ie doesn't show any more logs, but does disappear after several presses (like it finally reached the end of cached entries, even though said entries never get shown)

Show More… working properly on unfiltered and filtered log on C8.
C7 unfiltered log works fine. Nothing with enough entries to make a test of filtered there.

My longest filtered entry is only about two pages worth on C8. That may not show issue.

Strange. Thanks for checking it out for me.

I have a couple rules that are unbelievably spammy in the logs and I wonder if I'm reaching a hard limit imposed by Hubitat on the maximum size of the log or something.

logs only go back so far depending on storage.. they may have scrolled off.

Yes, it has been this way for as long as I have used HE. The log has a built in size limit and it is constantly truncated as new logs are added. I believe the limit is file size. It is just saved as a plain text log file in the filesystem.

show more hasn't worked for me for years, I actually lost track of when it was working

1 Like

Interesting. Works for me.. (Using Firefox)

That said, any one who wants long term logs, they should just set up a syslog server and be done with it.

1 Like

Hey Rick, How many events would you estimate in total you can scroll through? And IIRC someone here built an integration with Google sheets?

I just tested on my Dev hub, I was able to click Show More around 16 times in Past Logs.
I copy and pasted all the text into a text editor and got a total lines count of 8606

It goes back to 5/21 on my dev hub which has pretty minimal logging except for a few test sensors in my office that are going off constantly.

6 Likes

They probably did. Personally I just do the syslog thing when I need history cause it's complete and just very easy... You can set your logging to dump as short or as long as you want..

My experience with built in is similar to @jtp10181

Take a look at:

Live Log And Event Viewing From Windows