Debugging a Deployment

Learn how to debug a Deployment in Humanitec.

Introduction

An Internal Developer Platform significantly simplifies the task to debug a Deployment. Humanitec allows you to debug your active Deployment as well as past Deployments. A good starting point to debug a Deployment might be to diff it with the last Deployment in the same Environment that did work as expected. Another important step is checking the logs of the failed Deployment. This section explains how to do this in Humanitec.

View Logs

You can review the logs for your Active as well as for your past Deployments. The logs for each Workload can be accessed from the respective Workload Details Screen.

  • Select the active or past Deployment you want to see the logs for.

  • Select the Workload you want to see the logs for and go to the Workload Details Screen.

  • For your active Deployment: you can see the status information for each Replica in the top left section of the screen.

Example for the logs in the Workload Details Screen

Humanitec is storing logs from past Deployments for a specific number of days. The number of days depends on the type of your license. Please reach out to us in case of any questions about this topic.