Don’t wait for the build to fail: How to check Azure Image Builder live log

If you’ve ever found yourself wondering, “Where can I actually see what’s happening during the Azure Image Builder process?” — you’re in good company. Until recently, the only way to check progress was to repeatedly download the customization.log from the packerlogs container. Tedious? Definitely.

But here’s the good news: thanks to an Azure upgrade, the Azure Image Builder process now runs on Azure Container Instances (ACI) — and that means live log streaming is finally possible. No more guesswork. No more downloads. Just real-time visibility into your image builds.

Why Live Logs Matter

Live logs help you:

  • Monitor the progress of your image build in real time.
  • Identify and resolve errors early.
  • Validate that scripts and configurations are executing as expected.

No more waiting for the build process to finish—access the live log file instantly to verify that all your customizations were applied successfully.

How to check the live logs during the build process

Here’s how you can view Azure Image Builder live logs directly in the Azure Portal:

1. Open your staging resource group from the Custom Image Template list.

Image shows how to access the staging resource group.

2. Search for a temporary container instance that starts with “vmimagebuilder-build-container” and open this instance.

Image shows how to find the container instance of the build process.

3. Click on “Container” under “Settings” and then open “Logs” to view the live logs during the build process.

Image shows the image builder process live log.

Note: The log view is not updated automatically, you have to click on the “Refresh” button.

If the build process has been completed successfully or has failed, the log file is saved in the temporary storage account in the staging resource group. And all other temporary resources are deleted immediately.

Conclusion

Accessing live logs during the Azure Image Builder process provides valuable real-time insights into your image customization steps. By following the steps outlined above, you can monitor progress directly in the Azure Portal without waiting for the build to complete.

This not only speeds up troubleshooting but also ensures greater confidence in your automation workflows. Happy building!

Special thanks to Marc-André Moreau, who gave the hint to highlight the option to find the live log of the Azure Image Builder more.

Resources


Posted

in

by