IBM Support

Changing logLevel from WARN to INFO - Robotic Process Automation

Troubleshooting


Problem

To enable the support to assist with your problem, you must collect documentation so that the support team can diagnose your problem. Gathering the required documentation before you contact support expedites the troubleshooting process and save you time. Otherwise, you might be directed to collect this data after the case is opened to allow us to proceed with our investigation.

This document is for the non-Automation Anywhere based Robotic Process Automation product. Use this linked document for troubleshooting Robotic Process Automation with Automation Anywhere.

Resolving The Problem

Before changing the files
Please, before changing the log file, we suggest that you make a backup of the files you're going to change, and after testing, you can roll back to the default files.
After creating a backup of the files, you need to Stop the IBM Robotic Process Automation Service make the changes detailed in the rest of the article, and then Start the service again.
The Log Level is located on the <appSettings> tag.
Agent Service Config File
File location: %programfiles%\IBM Robotic Process Automation\WDG.Automation.Service.exe.config
Please, make sure to search for the following tags on the file and change them as instructed below.
Before:
        <add key="LogConfig" value="warn sqlite buffer=50"/>
    <add key="BotLogLevel" value="warn" />
After:
        <add key="LogConfig" value="info sqlite buffer=1"/>
    <add key="BotLogLevel" value="info" />

Agent Host Config File
File location: %programfiles%\IBM Robotic Process Automation\WDG.Automation.AgentHost.exe.config
Before:
	<appSettings>
		<add key="LogConfig" value="warn sqlite buffer=50"/>
		<add key="BotLogLevel" value="warn"/>
		<add key="log4net.Internal.Debug" value="true" />
		<add key="SendKeys" value="SendInput" />
	</appSettings>
After: 
	<appSettings>
		<add key="LogConfig" value="info sqlite buffer=1"/>
		<add key="BotLogLevel" value="info"/>
		<add key="log4net.Internal.Debug" value="true" />
		<add key="SendKeys" value="SendInput" />
	</appSettings>

Studio, Launcher, and Vault Config File
File location:
Launcher - %programfiles%\IBM Robotic Process Automation\Launcher.exe.config
Studio - %programfiles%\IBM Robotic Process Automation\Studio.exe.config
Vault - %programfiles%\IBM Robotic Process Automation\Vault.exe.config
Before:
	<appSettings>
		<add key="LogConfig" value="warn sqlite buffer=1"/>
		<add key="SendKeys" value="SendInput" />
	</appSettings>
After:
	<appSettings>
		<add key="LogConfig" value="info sqlite buffer=1"/>
		<add key="SendKeys" value="SendInput" />
	</appSettings>
What is needed after changing the files?
As said before, after changing the files, Start the Service to ensure that the log files will receive the correct log level message.
IMPORTANT:  Changing Log Levels and Buffer size will slow down your environment. Once you are done collecting the required data, it is recommended to return your settings to the default state.

What to do next

Review the log files and traces at the time of the problem to try to determine the source of the problem. Once you completed gathering all the needed info and diagnostics, you can add them to your case. Alternatively, you can upload files to ECURep. For more information, see Enhanced Customer Data Repository (ECuRep) - Overview.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSC50T","label":"IBM Robotic Process Automation"},"ARM Category":[{"code":"a8m3p000000h9wSAAQ","label":"Install \/ Upgrade"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Product Synonym

RPA, WDG, IBM RPA

Document Information

Modified date:
05 August 2022

UID

ibm16607161