Increasing the log level for the Mobile Application of Service Management

Document ID : KB000013235
Last Modified Date : 05/12/2018
Show Technical Document Details
Question:
How to increase the log level when using the Mobile application for the CA Service Management solution?
Environment:
CA Service Desk Manager 17.1
IOS or Android mobile application.
Answer:
1. Edit the NX.env file by setting the option below with a value to 1, if it does not exist add it at then end of the file.

    @NX_MOBILE_WFM_TRACE=1

2. Stop CA SDM Rest Tomcat and then kill the pdm_tomcat_nxd -s REST    command via task manager

3. Modify the file  NX_ROOT/site/cfg/approve.properties

     log4j.rootCategory=info,approve

     Change info in the log4j.rootCategory to debug and restart CA SDM REST Tomcat

     log4j.rootCategory=debug,approve

4. Within the mobile app -> Settings -> Preferences -> My Tasks -> Change tracing to ON.

User-added image

5. Additional REST logging can also be set by using the command bellow:

    pdm_log4j_config -f REST -l DEBUG -a -s 30MB

6. Run the command below to disable it:

  pdm_log4j_config -f REST -l INFO -a -s 30MB

7. Attach the log files from the CA Service Desk install's log directory to the case for analysis.