Gitlab CI/CD job's log exceeded limit

Ortomala Lokni picture Ortomala Lokni · Nov 29, 2018 · Viewed 11.9k times · Source

When I run my job on Gitlab CI/CD, after a while I obtain the following error message:

Job's log exceeded limit of 4194304 bytes.

How to change this limit?

Answer

Ortomala Lokni picture Ortomala Lokni · Nov 29, 2018

To change the build log size of your jobs in Gitlab CI/CD, you can edit your config.toml file and add a new limit in kilobytes:

[[runners]]
  output_limit = 10000

According to the documentation

output_limit : Set maximum build log size in kilobytes, by default set to 4096 (4MB)