Not able to see logs for any jobs. No error in Orchestrator UI.
There can be 2 possible reasons for this issue :
- Robot role does not have permission to create logs :
- Log in to Orchestrator and click on the Users tab.
- Click on the Roles Page.
- Edit permissions for the "Robot" role and make sure for "Logs" Create checkbox is checked.
- Targets are not defined properly in the UiPath.Orchestrator.dll file. If the targets do not have the proper syntax then the logs will not flow to any of the targets we have to validate and ensure that the syntax is right.
Special Scenario: In this case, the NLog logging was turned on but the log path was not defined. Please refer to the below screenshot to understand what should be the correct and incorrect scenarios.
Wrong Scenario: Logging turned on, but path not defined.
Correct Scenario: Logging off
Correct Scenario: Logging turned on and path defined.
Also, please check the Nlog target rules. You can refer to Logging Configuration for more insight.