Change log level for components
The article describes the steps to change a log level type between default prod (WARN/ERROR) and dev (DEBUG/INFO) for a specific server or a component.
You can update the log level for the following components:
- ocr
- sqc
- workspace
- workfusion
Make sure to perform the following steps as the runtime user, which is defined in the wf_user variable in config.yml.
To change the component's log level, proceed as below:
Login via SSH to the server where the required component is installed.
For a list of components and their locations, see IA Cloud component overview. Supported servers include: APP, INT, OCR. The log level type cannot be modified for the RPA and BI servers.
Change the user to default
wfuser.su - wfuserChange the directory to
PACKAGE_DIR.cd /opt/workfusion/wf_installer/If this directory is missing, the installer was either deleted or unpacked to a different location. In this case, unpack the installer to the right location once again.
Go to
PACKAGE_DIR. Inconfig.yml, update thelog_level_typevariable with theprodordevvalue.$ ./install.sh edit_config int $ log_level_type: prod # possible values 'prod' or 'dev'With the
log_level_typevariable you can switch the log level for specific Intelligent Automation Cloud components. The prod level is less verbose than dev.For more information, in
group\_vars/all/main.yml, see thelog_configvariable.Follow one of the two valid scenarios:
On the current server, update the log level for all components. In this case, specify a server role, for instance,
app, as shown in the example below../install.sh update_log_level appUpdate the log level for a specific component. In this case, specify the component's name (
workspace, in the example below):./install.sh update_log_level workspace