Assigning run-as Roles Role Assignment Precedence for SIP Servlet Roles

6-8 Oracle WebLogic Server SIP Container Developer’s Guide Enabling Message Logging 7-1 7 Enabling Message Logging This chapter describes how to use message logging features on a development system, in the following sections: ■ Section 7.1, Overview ■ Section 7.2, Enabling Message Logging ■ Section 7.3, Specifying Content Types for Unencrypted Logging ■ Section 7.4, Example Message Log Configuration and Output ■ Section 7.5, Configuring Log File Rotation

7.1 Overview

Message logging records SIP and Diameter messages both requests and responses received by WebLogic Server. This requires that the logging level be set to at least the INFO level. You can use the message log in a development environment to check how external SIP requests and SIP responses are received. By outputting the distinguishable information of SIP dialogs such as Call-IDs from the application log, and extracting relevant SIP messages from the message log, you can also check SIP invocations from HTTP servlets and so forth. When you enable message logging, WebLogic Server records log records in the Managed Server log file associated with each engine tier server instance by default. You can optionally log the messages in a separate, dedicated log file, as described in Configuring Log File Rotation .

7.2 Enabling Message Logging

You enable and configure message logging by adding a message-debug element to the sipserver.xml configuration file. WebLogic Server provides two different methods of configuring the information that is logged: ■ Specify a predefined logging level terse, basic, or full, or ■ Identify the exact portions of the SIP message that you want to include in a log record, in a specified order The sections that follow describe each method of configuring message logging functionality using elements in the sipserver.xml file. Note that you can also set these elements using the Administration Console, in the Configuration-Message Debug tab of the SipServer console extension node.