How do I enable client side logging to debug the actions being performing in Developer Studio? |
This knowledge article may contain information that does not apply to version 21.05 or later which runs in a container environment. Please refer to Article Number 000385088 for more information about troubleshooting BMC products in containers. Developer Studio uses Java API when connecting to AR Server and hence the traditional option which involves setting an environment variable named ARAPILOGGING does not help. To enable client-side API logging, please use the following steps: 1- Close Developer Studio. 2- Find "arsys_sample.xml" in "..\DeveloperStudio\plugins\com.bmc.arsys.studio.api_<versionstring>". 3- Copy "arsys_sample.xml" as "arsys_api.xml" and leave it in the same directory. 4- In this new "arsys_api.xml" file, look for the section "<javaapi_config> </javaapi_config>" ,ensure that this section is uncommented 5- Enable API logging by adding/ modifying the following line in this section: .......
...etc... <timeLagBetweenRetriesMillSec>100</timeLagBetweenRetriesMillSec> <toStringStyle>com.bmc.arsys.api.NoPrefixToStringStyle.NO_PREFIX_STYLE</toStringStyle> <stringizeFieldAssignments>false</stringizeFieldAssignments> <stringizeSetIfQualification>false</stringizeSetIfQualification> <apiRecording>0</apiRecording> <jniLoadMode>1</jniLoadMode> ...etc... ....... to be:
<apiRecording>31</apiRecording> and save the file.
6- Restart Developer Studio and reproduce the problem - please provide the time you reproduce the error so this can be found in the logs. 7- Forward the log files: - API log file named "<username><ARServer name>*_arapires.log" from the "..\DeveloperStudio" folder Additional Information Remedy - DevStudio - How to enable java debug logging for Developer Studio |