When the log changes, but without a route change (like when you switch
from one job to another job), we need to properly clean up and set up a
new log. The best way I figured out is to do it in didUpdateAttrs hook,
but only when the log actually changes. In such situation the old and
the new log should be past to teardown and setup functions.
After update to glimmer log started to be rendered incorrectly, with log
lines being inserted in the wrong places. I'm not sure what's the
underlying problem, but rewriting to components seems to fix the issue.
Since views are deprecated anyway I'm not going to investigate the
problem deeper.