Federation Security Services Guide › Federation Security Services Trace Logging › Set Up and Enabling Trace Logging › Log Messages for Federation Web Services at the Web Agent › Configure FWS Trace Logging
Configure FWS Trace Logging
To collect trace messages for the Federation Web Services application, you have to configure the FWS trace logging.
To configure FWS trace logging
- Do one of the following:
- Make a copy of the default template, FWSTrace.conf and modify the file to include only the data you want to monitor.
- Copy one of the preconfigured templates and assign a new name to it.
Note: Do not edit the template directly.
- Open the LoggerConfig.properties file in the directory web_agent_home/affwebservices/WEB-INF/classes, and set the following parameters:
- Set TracingOn to Yes. This instructs the trace facility to write messages to a file.
- Set the TraceFileName parameter to the full path of the trace log file. The default location is in web_agent_home/config/FWSTrace.log.
- Set the TraceConfigFile parameter to the full path of the trace configuration file, either the default template, FWSTrace.conf or another template. Templates can be found at web_agent_home/config.
- Optionally, you can format the trace log file, the file that contains the log output. The following parameters are the Web Agent configuration parameters that dictate the format of the trace log file:
- TraceRollover
- TraceSize
- TraceCount
- TraceFormat
- TraceDelim
The LoggerConfig.properties file contains descriptions of all these settings.