Stream logs
Add an admin controller that will stream log messages in plain/text response to the client.
- Attach a
logAppender
to root logger - Forward messages and
flush
every message - When the client cancels the request (IOException), make sure to detach the appender.