Skip to content

How can I redirect the console output of the CustomScriptExtension to the ADO release pipeline? #15670

Answered by dcaro
KiranVKumar asked this question in Q&A
Discussion options

You must be logged in to vote

Azure VM extensions write the logs to a file on disk but do not seem to have an API that allows to stream the logs.
Currently, you would have to add to your ADO pipeline a step to run a command that exports the logs from the VM for example using a PSRemoting session. This article explains how to upload a file but a similar approach could be used to download a file.

Can you also submit a feature request so we can route this feedback to the service team managing VM Extensions?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dingmeng-xue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants