Yet more logging to track down where memory is truncated.