Logs the logs instead of just outputting them in a screen.