Update runner.rb

Added ability to redirect output to log file in non-daemon mode as well.