App refresh mechanism keeps tossing information about log files
In order to reproduce the bug:
- Start with rake docker_up
- Add agent-kea
- Navigate to the Kea app
- Click on the log file which will take you to the log viewer
- Click refresh button
You're going to see error message saying that the log file with the given id doesn't exist. It seems like we have some background task updating the app information which keeps tossing the log files and adds them with a different id. If you now:
- click back in the browser
- click again on the same log file
you will see that the log file ID has changed. That's what seems to be causing the error message to be displayed.