Bundle on server, escape logs, and truncate on server