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
- To set up Central Authentication Service logging for WebSphere Application Server Liberty core, complete the following steps:
- Log in to the WebSphere Application Server Liberty
Core administration console.
- Click .
- Select Server1.
- Click .
- Click Change log detail levels,
and then append the following lines:
com.ibm.iis.isf.agent.config.*=all
com.ibm.iis.cas=all
- Click OK to save your changes.
You need not restart the WebSphere Application Server Liberty
Core server for the configuration changes to take effect.
- To set up Central Authentication Service logging for ASBAgent,
complete the following steps:
- Stop the ASBAgent.
- Make a backup of the asbagent-logging.properties file.
- Add the following lines to the asbagent-logging.properties file:
com.ibm.iis.isf.agent.log.level=ALL
com.ibm.iis.cas.level=ALL
- 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
- Restart the ASBAgent for the configuration changes to
take effect.