WEB-Service DEBUG Logging
search cancel

WEB-Service DEBUG Logging

book

Article ID: 240804

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager

Issue/Introduction



SDM 17.3 / RU12 on Windows


PROBLEM 
----------
The DEBUG Logging of web services calls in jsrvr.log does not work anymore since RU12.

Before RU12 the DEBUG Level was activated in log4j.properties and generated log entries like this:

...
02/15 13:45:06.419[ajp-nio-127.0.0.1-8009-exec-1] DEBUG RPCProvider 227 body is <doQuery xmlns="http://www.ca.com/UnicenterServicePlus/ServiceDesk"><sid xmlns="">1637280225</sid><objectType xmlns="">pri</objectType><whereClause xmlns="">delete_flag = 0 </whereClause></doQuery> 
02/15 13:45:06.435[ajp-nio-127.0.0.1-8009-exec-1] DEBUG TIME 308 AxisServer.invoke2  preTr=0 tr=0 preInvoke=0 invoke=32 postInvoke=0 USD_R11_WebService.doQuery 
...

 

 

Environment

Release : 17.3

Component : SDM - Other

Resolution

 

Workaround:

1. Go to NX_ROOT\bopcfg\www\CATALINA_BASE\conf catalina.properties and update below value:

From: 

common.loader="${catalina.base}/lib","${catalina.base}/lib/*.jar","${catalina.home}/lib","${catalina.home}/lib/*.jar",${catalina.base}/../../../java/lib/CXF/*.jar

To: 

common.loader="${catalina.base}/lib","${catalina.base}/lib/*.jar","${catalina.home}/lib","${catalina.home}/lib/*.jar"

Restart the services and check for the logs. Logs will get generated in the log files.

This Defect will be included in 17.3 RU15