Adding autoscroll to the logger