UpstreamDataInc / goosebit

A simplistic, opinionated remote update server implementing hawkBit™'s DDI API.
https://goosebit.rtfd.io
Apache License 2.0
18 stars 3 forks source link

Log file handling #168

Open tsagadar opened 2 hours ago

tsagadar commented 2 hours ago

My assumption how the log file feature should work:

  1. Incrementally displays the SWUpdate logs during an active update process
  2. Displays the SWUpdate logs of the last update if no update process is active

Currently number 2. would be broken. Before looking into fixing this I wanted to make sure that we expect the same behavior.

b-rowan commented 2 hours ago

This was my understanding as well. I am also confused about how no. 2 doesn't work properly, obviously it's clearing somewhere it shouldn't be.

Maybe it's a good idea to add a clear_log function into the updater that will log when the log is being reset?