How to enable StdLogs on Orchestrator to identify inner exception?

How to enable StdLogs on Orchestrator to identify inner exception?

If the error thrown on Orchestrator is not clear and to see inner exception, try to enable stdoutLogs in web.config using below method.

  1. Change web.config's hostingmodel from "inprocess" to "outofprocess", enable the stdoutLogs, and add the handlers as shown below:

  1. After that, restart the IIS, reproduce the issue, and check the Application Event Logs if the exception appears
  2. It should look like below:

Application '/LM/W3SVC/397715194/ROOT/identity' with physical root 'D:\home\site\wwwroot\UiPath.IdentityServer.Web\' hit unexpected managed exception, exception code = '0xe0434352'. Please check the stderr logs for more information.

Process Id: 6404.

File Version: 13.1.20169.6. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: 62c098bc170f50feca15916e81cb7f321ffc52ff