When you contact Octopus Deploy support, we may ask you to provide a variable evaluation log to help us troubleshoot your issue. This page outlines how to create and download the full verbose log.
Since so many variables are used in the deployment process (with their values changing through your deployment), Octopus doesn’t log all of that information by default. It would increase the size of the task logs, and would slow down your deployments. However, sometimes it’s very helpful to log this information.
Step-by-step Guide
Write the variables to the deployment log
- Open the Project ➜ Variables page.
- Add the following two variables and set their value to True:
OctopusPrintVariables
OctopusPrintEvaluatedVariables
Two sets of variables will be printed, first, the raw definitions before any substitutions have been performed, then the result of evaluating all variables for deployment.
-
Create a new release of your project for the variables to take effect.
-
Deploy the new release.
-
Open the deployment/task details, and go to the Task log tab. Click on the Raw link. You can also select the Download option if you want to look at this locally. You can download this and attach the log file to your support query.
-
If you wish to troubleshoot this locally the raw log text file containing the entire deployment log will load in Octopus.
Remember to remove these variables after you get the full log. These variables are designed for debugging purposes only.
You might want to open the file in a text editor, and redact any sensitive information like hostnames or company information, before sending the log to us.
Help us continuously improve
Please let us know if you have any feedback about this page.
Page updated on Sunday, January 1, 2023