How to enable AdminUI RestAPI traces?

book

Article ID: 103255

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) AXIOMATICS POLICY SERVER CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction



How can we enable AdminUI RestAPI traces to get more information for the errors we are getting?

Environment

AdminUI R12.8

Resolution

To enable smrestservices.log traces, please edit the following properties in the smrestservices-logging.properties file: 
- Edit smrestservices-logging.properties (under <AdminUI_path>/standalone/configuration 
- Set the following logger settings level from "error" to "trace" or "debug": 
logger.restapi.name=com.ca.siteminder.restapi 
logger.restapi.level = error 
... 
logger.restservlet.name=com.ca.siteminder.sdk.restservlet 
logger.restservlet.level = error 
... 
logger.securityservice.name=com.ca.siteminder.securityservice 
logger.securityservice.level = error 
... 
- Save the changes and wait for 1 minute, or restart the AdminUI. 

Additional Information

Ref. : 

REST API Logs for Troubleshooting
https://docops.ca.com/ca-single-sign-on/12-8/en/programming/policy-object-rest-apis/rest-api-logs-for-troubleshooting