Get the Raw Output From a Task Log (API)

Hi,

Is there a way to get the Raw Output from a Task Log via the API?

I could spend a couple of hours working it out, but thought it might be quicker to just ask you instead?

Thanks,
Fletch

One of my main issues with the current output, is that sometimes it is cropped…

If I could see the actual full log, it would help me to figure out some of the issues I am sometimes having.

Cheers.

Hi @Fletch-EuroMoney,

You can indeed! The raw logs can be accessed via the /api/tasks/<ServerTaskID>/raw endpoint. This will show you the full raw task log in plain text.

For more information, or to test this out, feel free to use the SwaggerUI built into Octopus, accessible at <your_server>/swaggerui

Happy Deployments!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.