More log trimming