Delete Past Logs for devices no longer connected to Hubitat

With moving devices around between Hubitat, SmartThings, and Home Assistant, I have some Past Log entries for devices that are no longer connected to Hubitat, or have been re-connected and have another set of logs under the same name.

Is there a way to remove the orphan log entries, or will they eventually go away on their own?

1 Like

Past Logs will eventually disappear on their own, subject to the automatic purging that happens when they reach the size limit. The only other way to remove them is as an option (new in 2.3.3, or I think really the updated Diagnostic Tool) during a soft reset, as they are not stored in the database (so won't be erased but also won't be restored if wiped in this way). Probably more than I'd do for just this, but one option if it bothers you enough. :slight_smile:

3 Likes

The new logs page is really a mess and needs to be cleaned up. Just my 2cents.

This post is unrelated to the question at hand and might best be posted in its own topic, maybe with more specific feedback about what you'd prefer.

2 Likes

The only issue is that for devices that are no longer connected to Hubitat, their logs will never grow to the point of needing to be purged.

They effectively become ghost logs.

In this example, Echo Speaks was removed completely, as were two of the four generic zigbee motion sensors.

1 Like

Past Logs are purged based on total size, not per device, so that will not happen. The logs will remain, even for a removed device (or app), until that point, however.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.