Studio
2023.4
false
Banner background image
Studio User Guide
Last updated Apr 3, 2024

OCR Diagnostic Logs

The UiPath.Vision.Host Diagnostic logs enable you to collect information regarding OCR engine errors.

Enabling UiPath.Vision.Host Diagnostic Logs

To collect information regarding OCR errors, you can enable the generation of the diagnostic log files by adding the following lines to the <Installation Folder>\NLog.config file:

<target xsi:type="File" name="visionHostFile" fileName="${LogDirectory}/${shortdate}_VisionHost.log" layout="${time} ${level} ${message}" concurrentWrites="true" />

<logger name="UiPath.Vision.Host.exe" minLevel="Trace" writeTo="visionHostFile" final="true" />

Note: Editing the NLog.config file requires administrator permissions.

Targets of the UiPath.Vision.Host Diagnostic Logs

The log files are generated at the path specified in the <Installation Folder>\NLog.config, under the visionHostFile parameter. The default value is %localappdata%\UiPath\Logs\${shortdate}_VisionHost.log.
Note: Editing the NLog.config file requires administrator permissions.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.