Maybe I’m not the only one, but I find it every time I do an update of the firmware, the next thing I do is reboot with the option to purge the old logs .
Seems like it should be an easy thing to do since you’re restarting anyway. Could be an option on the update command page.
Anyone else agree? If so, please VOTE. ’s don’t count as votes! You need to vote up here
I don't ever do this... I guess because I always want the option to go back and compare to logs before the update (e.g., if something isn't acting the same).
Still seems strange to me as I'm trained to keep all logs. I syslog all logs from hubitat to a server. I can filter easily enough. I think my current hubitat logs go back about 3 years lol.
Well then you have your server to keep them. The HE logs “rollover” so that wouldn’t work for you.
Also, does anyone know if the name of a device or app disappears from the area up above if its entries roll off the log itself? Or does it stay there is an orphan.?
And you can still filter using the "Filter by app/device" dropdown (arrow in my screenshot above), so you don't actually lose functionality -- just a different way of doing it if the full list is a problem.
Past Logs will only show names for which there are actually log entries. Live Logs don't pull from hub log files at all (it's streamed to this page at the same time it's actually written; anything you see on screen is just what your browser has stored), so the question doesn't really apply for this case, if I'm understanding correctly. But knowing the above might be helpful if this question stems from the same concern.
To purge or not to purge? Everyone has their opinion. I would think @rlithgow1 is in the minority. The option is there, but requires a separate reboot.
To offer purge option on upgrade (and maybe rollback) of firmware. Would not require a second reboot and “why not?”. <- This is what I vote for.
I must admit to feeling... weird... over this one...
I leant into the feeling of keeping logs (and everything) lean in HE.... but then when I dabbled in HA (and I would still classify it as dabbling) and saw the beauty of more complete logs... I did absolutely nothing about it . That is not to say I thought it was useless, or should not be something worth pursuing within HE.... just interesting my immediate gravitation towards it but lack of uptake...
My personal takeaway... (peanut chicken stir-fry, boiled jasmine rice and a serving of spring rolls)....
But seriously... Whatever suits your needs... That's my input. If you have a setup that can at times require investigation... then look at longer log retention.