I am running a job in gitlab to upload AEM package through curl command but on trying with a big package, I am getting error "log exceeded limit of 4194304 bytes". I cannot break the job into multiple jobs, please help.
Asked
Active
Viewed 6,466 times
1
-
Possible duplicate of [Gitlab CI/CD job's log exceeded limit](https://stackoverflow.com/questions/53541000/gitlab-ci-cd-jobs-log-exceeded-limit) – Nicolas Pepinster Oct 01 '19 at 08:09
-
I am unable to locate this file. Can you help more on this? – Johna Oct 01 '19 at 08:41
-
the file is `config.toml`. The location depends of your running system, check the [documentation](https://docs.gitlab.com/runner/configuration/advanced-configuration.html) – Nicolas Pepinster Oct 01 '19 at 08:58
-
I tried setting output_limit = "40000" in the runners section of config.toml but still the error is coming. I have read multiple posts but this hadn't helped many. – Johna Oct 01 '19 at 09:27
-
Did you restart your runner ? Could you edit the post with the `[[runner]]` section config ? – Nicolas Pepinster Oct 01 '19 at 09:32
-
Did you try curl --silent http://www.example.com/ > /dev/null ? – Oliver Gebert Oct 01 '19 at 11:49
1 Answers
0
The default value of gitlab-runner output log is 4096 Kilobytes.
Update the default value by overriding it here:
https://gitlab.com/gitlab-org/charts/gitlab-runner/-/blob/main/values.yaml#L390
outputLimit: 8192

Abhishek
- 763
- 7
- 18