[Feature Request] Purge logs without rebooting

Sometimes we make changes and we don't want to reboot, like updating a driver, adding or replacing a device, for the reasons listed here and many others, it would be great to have this feature.

1 Like

The issue would be the length of time and CPU % that would be consumed. When the hub reboots the log table can be dropped and recreated with 2 commands; to do it online you would have to delete each row. Would only be one command but the run time and strain on the hub could be large.

2 Likes

I'm not sure if there is a limitation on the UI only, but if I try to look for old records, I can only load up to ~3.5 days back.
I have checked now, I could load exactly 15588 log records.
If that is the approximate size of the table, it should be very quick to truncate it.

Unknown if the database supports Truncate, or it the table is eligible, if not would need to use Delete. Regardless, just pointing out that it may not be as simple as it would seem.

1 Like

Looks like it should..

http://h2database.com/html/commands.html#truncate_table

2 Likes