Tracing a Session Initiation Protocol (SIP) container on Liberty

You can trace a Session Initiation Protocol (SIP) container, starting either immediately or after the next server start. This tracing writes a record of SIP events to a log file.

Procedure

In the server.xml file, add a logging element and specify tracing for the SIP container by setting traceSpecification="*=info:com.ibm.ws.sip=all".
<logging logDirectory="${server.config.dir}/logs" traceFileName="trace.log" traceSpecification="*=info:com.ibm.ws.sip=all"/>

Results

SIP-level tracing messages appear in serverName/logs/trace.log, where serverName is the name of the specific instance of the application server that is running the SIP container to be traced. These messages include application load events as well as SIP request and response parsing and SIP servlet invocation.