runner: fix bug in displaying logs when slapgrid is not running

in page /viewLog