Troubleshooting DXClient
Logs can be enabled and disabled as desired by DX developers and administrators through configuration options in the config.json file of DXClient. The log files can be viewed inside the logs folder within the DXClient installation folder.
Enable or disable logs
-
Enable logger
The DXClient tool Logs can be enabled by setting the parameter
enableLogger: truein the config.json file. -
Disable logger
The DXClient tool Logs can be disabled by setting the parameter
enableLogger: falsein the config.json file.
Troubleshooting DXConnect
To enable log tracing in DXConnect you will need to access ConfigWizard admin console. Once logged in follow the below steps:
- In the left navigation, expand 'Troubleshooting'.
- Under Troubleshooting, Click on 'Logs and trace'.
- Navigate to Logging and tracing > server1 > Diagnostic trace service.
- Select
Runtimetab. - Navigate to
Change log detail levels. - Add
com.hcl.dxconnect.*=allto the list. (There is a possibility of a server restart when this is configured.) - You may access the
SystemOut.logfrom/opt/HCL/Appserver/profiles/cw_profile/server1/logsto trace dxconnect logs.
Note
Refer Configure Core Sidecar Logging on how to configure to fetch logs from Core Server in containerised environments.