Orchestrator Redirect Logs To A File (NLog)

Resolution when NLOG redirects to a file.

Robot logs can be redirected to a local file by adding a new target and rule under nlog part in UiPath.Orchestrator.dll.config:

  1. Step1:

Column Name can be customized (added/removed) based on information that need to be present in the file:

Example in dll.config


  1. Step2:

Note: Make sure preview rule for Robot.* had final="false"


  1. Step3: Perform an Orchestrator site restart.

After running a job, a file is generated:


Read more on File Target .