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.


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


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.