Log files generated by Jenkins pipeline scripts are bloated

Log files generated by Jenkins pipeline scripts are bloated in freestyle project . this caused the blue ocean report log can not load. and shoe the following error.
Jenkins version: [Jenkins 2.346.2]
example output log :“]aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G[]tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAzOEgZh/eT83ILSktQi/YIi3fL8ouzUIgDcS[]06yAAAAA==e[0mpr-worker (worker-pr) in workspace /var/lib/[]/workspace/k8s-default-pol-worker”