Gitlab: Job's log exceeded limit of 4194304 bytes

Hi,
Our Gitlab issues the following:

Job's log exceeded limit of 4194304 bytes.
Job execution will continue but no more output will be collected.

Is there a way of preventing K6 to issue a long log, and just present the final result?

You can try running k6 with the --quiet flag: https://k6.io/docs/using-k6/options/#quiet

Alternatively, you can just redirect the console.log() output to a file: https://k6.io/docs/using-k6/options/#console-output
Or silence all of the logs or redirect them to Loki: https://k6.io/docs/using-k6/options/#log-output

Thank you so much @ned . It helps!