We've had this problem at ci.debian.net too, that sometimes log files are just too big. Truncating the log at the end means that a lot of the interesting data there goes missing. Typically the beginning and the end are the more interesting parts of the log, so I suggest to truncate somewhere in the middle.