Search code examples
loggingazure-devopsazure-devops-pipelines

How to format Azure DevOps console Logs


I am looking for a way to see the one line logs in azure devops to multiple lines. sometimes its difficult to debug the issues that are in one line. Is their any way we can format the azure devops log such a way that all the log content should fit in one screen instead of scrolling to right?

Thanks, Sebastian


Solution

  • Their is no inbuilt method for log formatting. but one way i find out is to take all the logs to a variable and then split it with comas. it will give us a well good log