Externalizing logs