Maybe I'm doing something wrong, but my log files have become a hideous mess. A lot of this has occurred when troubleshooting and testing devices where they have bean added and deleted, sometimes multiple times. The attached picture illustrates the problem.
All the devices in red rectangles do not exist. They were created at one time and each receiving a unique device ID but later deleted throughout the course of troubleshooting/testing.
The device in the purple box exists, but not by the name shown in the filter list.
My wish:
When a device is deleted, provide option to delete all associated log entries
AND/OR
Provide a "log cleanup tool" that removes log entries for non-existent devices AND matches the device name with the actual name given in the device-id.
It seems that I've accumulated a lot of useless garbage that's of no value that continues to show up in the list of filters and doesn't seem to get purged.
Hubitat's "Past Logs" is essentially a circular file of fixed size. Once enough new data is logged, the old data will be automatically purged.
Definitely can get a little messy when experimenting or first setting up lots of new devices/applications...but eventually it will calm down once the rate of change decreases.
Yes, I'm aware of the automatic purging but I have junk that's been out there for a couple months now. So, not sure how long it will continue to hang around since I don't know the capacity of the log file.