Reputation: 81
Are the logs stored locally on a self-hosted build where the agent is running?
When I bring up the UI for builds status of a running build it often is just stuck at Waiting for Console output....
.
It would be nice to be able to go to the build agents machine and just look at the log and see what it is doing.
Upvotes: 5
Views: 12937
Reputation: 41675
While the build running on VSTS with Hosted Agent the only way to see the logs is to wait for console output.
After the build finished you can download the logs az zip:
If the agent is Self Hosted (Private Agent) the logs are in the _diag
folder (the folder exist in agnet root folder).
Upvotes: 1