Collect Orchestrator Logs From Azure App Service

How to collect Orchestrator logs from Azure App Service?

Follow the steps indicated below in order to collect Orchestrator logs in Azure:

  1. Go to Kudu > DebuConsole > CMD > site > wwwroot
  2. Open browser developer tools (F12) > Console
  3. Run: window.localStorage['maxViewItems'] = 1000 and hit Enter:
1.png
  1. Now refresh the page and go back again to Kudu > DebuConsole > CMD > site > wwwroot
  2. Open UiPath.Orchestrator.dll.config, locate the section 'Targets' and put the following script under 'Targets':
<target name="file" xsi:type="File"
layout="${longdate} - ${level:uppercase=true} - ${logger} ${message} ${onexception:${exception:format=tostring:maxInnerExceptionLevel=10:innerFormat=tostring}}"
fileName="D:/home/logfiles/${shortdate}-OrchestratorApplication.log"
keepFileOpen="true"
archiveEvery="Day"
maxArchiveFiles="5"
/>

  1. Now locate the 'Logger' section and modify it like this:

image.png

  1. Now reproduce the error, and then go back to Kudu > Advanced Tools > Go > CMD > Log Files:

3.png

4.png

5.png

6.png

  1. The Orchestrator logs are there to be found:

7.png

Hi, can i get the image u mentioned above? Because it only shows the name of the images. Thank u.

Hi @Felix_Effendi

I think it was fixed in the meantime :slight_smile:

Thank u @loginerror