How To Enable the Low-Level Log for UiPath Orchestrator Credentials Proxy?

How To Enable the Low-Level Log for UiPath Orchestrator Credentials Proxy?

Resolution:

Step 1: Add the below content into the appsettings.json (C:\Program Files\UiPath\OrchestratorCredentialsProxy) file under the Logging section

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Debug",
      "Microsoft": "Information",
      "Microsoft.Hosting.Lifetime": "Debug",
      "Microsoft.AspNetCore.HttpLogging.HttpLoggingMiddleware": "Debug"
    }
  },



Step 2: See the example below, then save the file and perform and IISreset

Output.PNG
Step 3: The logs are stored according to the configuration specified in the appsettings.json file (e.g., filename: "C:/logs/nlog-${shortdate}.log"), where ${shortdate} is replaced with the current date."

Result.PNG