Previous Topic: Enable the Web ServicesNext Topic: Create the Client Program


Configure the Web Services Logs

When you enable the web services, CA SiteMinder® SPS saves the logs of the web services in the server.log file. You can change the log location from server.log to authazws.log.

If you want to change the log location, perform the following steps:

  1. Navigate to sps_home/proxy-engine/conf/webservicesagent.
  2. Take a back-up of the file authaz-log4j.xml.
  3. Open the original authaz-log4j.xml file, and perform the following steps:
    1. Uncomment the following AuthAZ_ROLLING appender tag:
      <appender name="AuthAZ_ROLLING" class="org.apache.log4j.DailyRollingFileAppender">
      <param name="File" value="logs/authazws.log"/>
      	<layout class="org.apache.log4j.PatternLayout">
      	<param name="ConversionPattern" value="%d %-5p [%c] - %m%n"/>
      </layout>
      </appender>
      
    2. Uncomment all the occurrences of the following appender-ref for the AuthAZ_ROLLING tag:
      <appender-ref ref="AuthAZ_ROLLING"/>
      
  4. Save the changes and restart CA SiteMinder® SPS.

    The log location is changed to the authazws.log file, which is located in sps_home/proxy-engine/logs/.