Truncate long body for http logger