studio
2023.4
false
- Release Notes
- Getting Started
- Setup and Configuration
- Automation Projects
- Dependencies
- Types of Workflows
- File Comparison
- Automation Best Practices
- Source Control Integration
- Debugging
- The Diagnostic Tool
- Variables
- Arguments
- Imported Namespaces
- Trigger-based Attended Automation
- Recording
- UI Elements
- Control Flow
- Selectors
- Object Repository
- Data Scraping
- Image and Text Automation
- Automating Citrix Technologies
- RDP Automation
- Salesforce Automation
- SAP Automation
- VMware Horizon Automation
- Logging
- The ScreenScrapeJavaSupport Tool
- The WebDriver Protocol
- Test Suite - Studio
- Extensions
- Troubleshooting
- About troubleshooting
- Microsoft App-V support and limitations
- Internet Explorer X64 troubleshooting
- Microsoft Office issues
- Identifying UI elements in PDF with Accessibility options
- Repairing Active Accessibility support
- Automating Applications Running Under a Different Windows User
- Validation of large Windows-legacy projects takes longer than expected
Studio Logs
Studio User Guide
Last updated Nov 4, 2024
Studio Logs
The Studio Traces are diagnostic log messages generated by Studio, containing information related to its behavior.
The logging level settings and log file path can be modified by editing the
<Installation Folder>\Studio.NLog.config
file. If this file does not exist, it is automatically created when an event occurs. The section can be found under the <nlog>
tag.
The default selected minimum logging level for Studio is
Warn
(Warning), but more levels can be added or excluded in the same configuration file.
To only log Error and Warning levels, specify them in between the
<rules>
tag, like in the example below:
<rules> <logger name="*" level="Error" writeTo="AsyncTarget" />
<logger name="*" level="Warning" writeTo="AsyncTarget" /> </rules>
To limit the logs to a specific size, set the
archiveAboveSize="<value in bytes>"
in the <target>
section:
<target name="AsyncTarget" xsi:type="AsyncWrapper" minlevel = "Off"> <target name="logfile" xsi:type="File" fileName="${logDirectory}/${shortdate}_Studio.log"
layout="${time} => [${level:uppercase=true}] [${logger}] [${threadid}] ${message}" archiveAboveSize="<value in bytes>/> </target>
To disable logging, simply set the
minlevel
tag to ”Off”
, as you can see below:
<rules> <logger name="*" minlevel="Off" writeTo="AsyncTarget" /> </rules>
The default log file path for Studio is
%localappdata%\UiPath\Logs\<shortdate>_Studio.log
. The format for <shortdate>
is yyyy-mm-dd
.
To change the log file path, simply change the value of the
logDirectory
parameter with the path you want to use.
For example, to move the log file path to the Desktop, modify the
value="${specialfolder:folder=LocalApplicationData}/UiPath/Logs"
parameter to value="${specialfolder:folder=DesktopDirectory"
.
Note: Set the language for Windows keyboard to Japanese, Russian or French to make sure some Studio logs are localized in the respective
languages.