Skip to content

Commit cf630cf

Browse files
committed
[ACR] Task data/log retention
1 parent 6c5600c commit cf630cf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

articles/container-registry/container-registry-tasks-overview.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: dlepow
66

77
ms.service: container-registry
88
ms.topic: article
9-
ms.date: 03/28/2019
9+
ms.date: 05/20/2019
1010
ms.author: danlep
1111
---
1212

@@ -91,6 +91,12 @@ Multi-step tasks enable you to split the building, running, and testing of an im
9191

9292
Learn about multi-step tasks in [Run multi-step build, test, and patch tasks in ACR Tasks](container-registry-tasks-multi-step.md).
9393

94+
## View task data
95+
96+
Each task run generates log output that you can inspect to determine whether the tasks ran successfully. If you use the [az acr build](/cli/azure/acr#az-acr-build) or [az acr task run](/cli/azure/acr/task#az-acr-task-run) command to trigger the task, log output for the task run is streamed to the console and also stored for later retrieval. To view the logs for a task run, you can use the [az acr task logs](/cli/azure/acr/task#az-acr-task-logs) command.
97+
98+
By default, data and logs for task runs in a registry are retained for 30 days and then automatically purged. If you want to archive the data for a task run, you can enable archiving using the [az acr task update-run](/cli/azure/acr/task#az-acr-task-update-run) command.
99+
94100
## Next steps
95101

96102
When you're ready to automate OS and framework patching by building your container images in the cloud, check out the three-part [ACR Tasks tutorial series](container-registry-tutorial-quick-task.md).

0 commit comments

Comments
 (0)