shorten logs