Configuring Central Authentication Service logs

You must configure logging to enable Central Authentication Service log files to be logged for the WebSphere® Application Server Liberty Core.

About this task

Use the ASBServer/wlp/usr/servers/iis/server.xml configuration file to configure logging messages for WebSphere Application Server Liberty Core. You must be a root user or must have the WebSphere Application Server monitor role. The log files are produced in the /opt/IBM/InformationServer/ASBNode/logs and /opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1 folders.

Procedure

  1. To set up Central Authentication Service logging for WebSphere Application Server Liberty core, complete the following steps:
    1. Log in to the WebSphere Application Server Liberty Core administration console.
    2. Click Troubleshooting > Logs and trace.
    3. Select Server1.
    4. Click Diagnostic trace > Runtime .
    5. Click Change log detail levels, and then append the following lines:
      com.ibm.iis.isf.agent.config.*=all
      com.ibm.iis.cas=all
    6. Click OK to save your changes.
      You need not restart the WebSphere Application Server Liberty Core server for the configuration changes to take effect.
  2. To set up Central Authentication Service logging for ASBAgent, complete the following steps:
    1. Stop the ASBAgent.
    2. Make a backup of the asbagent-logging.properties file.
    3. Add the following lines to the asbagent-logging.properties file:
      com.ibm.iis.isf.agent.log.level=ALL
      com.ibm.iis.cas.level=ALL
    4. Comment out the following lines, if they exist:
      .level=FINE
      or
      .level=INFO
      Following is an example asbagent-logging.properties file:
      #handlers=java.util.logging.ConsoleHandler, java.util.logging.FileHandler
      handlers=java.util.logging.FileHandler
      com.ibm.iis.isf.agent.log.level=ALL
      com.ibm.iis.cas.level=ALL
      #.level=FINE
      java.util.logging.FileHandler.level=ALL
      java.util.logging.FileHandler.limit=500000
      java.util.logging.FileHandler.count=10
      java.util.logging.FileHandler.formatter=com.ibm.iis.isf.util.logging.CustomLoggingFormatter
      java.util.logging.FileHandler.append=true
      java.util.logging.FileHandler.pattern=C:/IBM/InformationServer/ASBNode/logs/asb-agent-%g.out
      #java.util.logging.ConsoleHandler.level=INFO
      #java.util.logging.ConsoleHandler.formatter=com.ibm.iis.isf.util.logging.CustomLoggingFormatter
    5. Restart the ASBAgent for the configuration changes to take effect.