WTH Option to clear logs in add-ons

The main HA Log page has an option to clear logs but this is missing in add-ons. If I restart an add-on then I would like to clear the old log instead of having to scroll through it

Addons clear logs when restarted

@petro Only if you restart HA. If you press restart from the Info page it continues logging from where it left off,

Example: Neolink add on, restarting because of dropped connections

log

[2024-12-24T02:15:42Z INFO  neolink::utils] BackDoor: Connected and logged in
[2024-12-24T02:15:43Z INFO  neolink::common::camthread] BackDoor: Camera time is already set: 2024-12-24 2:15:43.0 +00:00:00
[2024-12-24T02:25:55Z WARN  neolink::common::camthread] Connection Lost: IO Error: Custom { kind: Other, error: DroppedConnection }
    Caused by:
        Dropped connection

After restart this is added to the same log

--- VERSIONS ---
add-on version: 0.0.9
[2024-12-24T10:34:35Z INFO neolink] Neolink d8623cdcd06f93a56aafe4cd2add4a7dde94beba release
neolink version: neolink 0.6.2
neolink mode: rtsp
neolink log: info
ATTENTION: if you expected a newer Neolink version, please reinstall this Add-on!
--- Neolink ---
[2024-12-24T10:34:35Z INFO neolink] Neolink d8623cdcd06f93a56aafe4cd2add4a7dde94beba release
[2024-12-24T10:34:35Z INFO neolink::rtsp] Starting RTSP Server at 0.0.0.0:8554
[2024-12-24T10:34:35Z INFO neolink::rtsp] BackDoor: Rtsp Staring