How to persist stdout and stderr files generated by Azure Batch through the Azure Portal?
I have a few jobs on Azure Batch that have been presenting some failures lately. However, it is not possible to diagnose what is the problem, since the stderr and stdout files are deleted right after the task has been executed. I read that this has to do with the fact that the jobs are not saving these files in the Storage Account container, so they are only available as long as the node is alive (a few seconds after the execution from what I tested).
Is there a way to set the jobs to save these files somewhere just so I can understand what happens when my application throws an exception? It has to be through Azure Portal, since I don't have permission to install any Azure-related software right now in my company.