This will ensure the logs are not too large which will improve performance and ensure that the build works on Travis which caps the log file size.