Wednesday, November 20, 2024

Using Azure DevOps UI to Enable Detailed Pipeline Logs

In Azure DevOps YAML pipelines, detailed logs can be enabled by setting the system.debug value to true. This enables verbose logging, providing additional details in the logs, such as task inputs/outputs, agent setup details, and more descriptive error messages.

Further, Azure DevOps provides a UI feature to enable detailed logs before running a pipeline. To enable detailed logging, follow these steps.

Prerequisites:

  • An existing Azure DevOps build pipeline

Steps to Enable Detailed Logs:

  • Go to your Azure DevOps build pipeline
  • Click on Run pipeline
  • Check the option Enable system diagnostics
  • Click Run to start the pipeline with detailed logging enabled.This ensures that the pipeline execution includes extended diagnostic details for better debugging and analysis.



Additional logs will be displayed as shown in the following image.



No comments:

Post a Comment