Skip to content
代码片段 群组 项目
未验证 提交 6c3b5efc 编辑于 作者: Roshni Sarangadharan's avatar Roshni Sarangadharan 提交者: GitLab
浏览文件

Added job log related content links

上级 2aee50e1
No related branches found
No related tags found
无相关合并请求
...@@ -11,7 +11,7 @@ DETAILS: ...@@ -11,7 +11,7 @@ DETAILS:
**Offering:** Self-managed **Offering:** Self-managed
Job logs are sent by a runner while it's processing a job. You can see Job logs are sent by a runner while it's processing a job. You can see
logs in job pages, pipelines, email notifications, and so on. logs in places like job pages, pipelines, and email notifications.
## Data flow ## Data flow
...@@ -147,6 +147,12 @@ job logs are automatically migrated to it along with the other job artifacts. ...@@ -147,6 +147,12 @@ job logs are automatically migrated to it along with the other job artifacts.
See "Phase 3: uploading" in [Data flow](#data-flow) to learn about the process. See "Phase 3: uploading" in [Data flow](#data-flow) to learn about the process.
## Maximum log file size
The job log file size limit in GitLab is 100 megabytes by default.
Any job that exceeds the limit is marked as failed, and dropped by the runner.
For more details, see [Maximum file size for job logs](../../administration/instance_limits.md#maximum-file-size-for-job-logs).
## Prevent local disk usage ## Prevent local disk usage
If you want to avoid any local disk usage for job logs, If you want to avoid any local disk usage for job logs,
...@@ -158,11 +164,14 @@ you can do so using one of the following options: ...@@ -158,11 +164,14 @@ you can do so using one of the following options:
## How to remove job logs ## How to remove job logs
There isn't a way to automatically expire old job logs, but it's safe to remove There isn't a way to automatically expire old job logs. However, it's safe to remove
them if they're taking up too much space. If you remove the logs manually, the them if they're taking up too much space. If you remove the logs manually, the
job output in the UI is empty. job output in the UI is empty.
For example, to delete all job logs older than 60 days, run the following For details on how to delete job logs by using GitLab CLI,
see [Delete job logs](../../user/storage_management_automation.md#delete-job-logs).
Alternatively, you can delete job logs with shell commands. For example, to delete all job logs older than 60 days, run the following
command from a shell in your GitLab instance. command from a shell in your GitLab instance.
NOTE: NOTE:
......
...@@ -310,6 +310,8 @@ You can view the contents of a job log in full screen mode by clicking **Show fu ...@@ -310,6 +310,8 @@ You can view the contents of a job log in full screen mode by clicking **Show fu
To use full screen mode, your web browser must also support it. If your web browser does not support full screen mode, then the option is not available. To use full screen mode, your web browser must also support it. If your web browser does not support full screen mode, then the option is not available.
Job logs divided into sections can be collapsed or expanded. For more details, see [Expand and collapse job log sections](../yaml/script.md#expand-and-collapse-job-log-sections).
## Deployment jobs ## Deployment jobs
Deployment jobs are a specific kind of CI job in that they deploy code to Deployment jobs are a specific kind of CI job in that they deploy code to
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册