Modifier and Type | Field and Description |
---|---|
static String |
LEVEL_BASIC |
static String |
LEVEL_FULL |
static String |
LEVEL_TERSE |
static String |
PARAM_MSG_CALL_ID |
static String |
PARAM_MSG_CONTENT |
static String |
PARAM_MSG_CONTENT_LENGTH |
static String |
PARAM_MSG_CONTENT_TYPE |
static String |
PARAM_MSG_CSEQ |
static String |
PARAM_MSG_DATE |
static String |
PARAM_MSG_FROM |
static String |
PARAM_MSG_FROM_ADDR |
static String |
PARAM_MSG_FROM_PORT |
static String |
PARAM_MSG_FROM_TAG |
static String |
PARAM_MSG_FROM_URI |
static String |
PARAM_MSG_HEADERS |
static String |
PARAM_MSG_INCOMING |
static String |
PARAM_MSG_METHOD |
static String |
PARAM_MSG_MSG_SUMMARY |
static String |
PARAM_MSG_PROTOCOL |
static String |
PARAM_MSG_REASON |
static String |
PARAM_MSG_REQ_URI |
static String |
PARAM_MSG_STATUS |
static String |
PARAM_MSG_TIME |
static String |
PARAM_MSG_TIMESTAMP |
static String |
PARAM_MSG_TO |
static String |
PARAM_MSG_TO_ADDR |
static String |
PARAM_MSG_TO_PORT |
static String |
PARAM_MSG_TO_TAG |
static String |
PARAM_MSG_TO_URI |
static String |
PARAM_MSG_TYPE |
Modifier and Type | Method and Description |
---|---|
FormatBean |
createFormat() |
StringRepBean |
createStringRep() |
void |
destroyFormat() |
void |
destroyStringRep() |
String |
getDateFormatPattern()
The date format pattern used for rendering dates in the Server
log file and stdout output.
|
int |
getFileCount()
The maximum number of log files that the server creates when it rotates
the log.
|
int |
getFileMinSize()
The size (1 - 65535 kilobytes) that triggers the server to move log
messages to a separate file.
|
int |
getFileTimeSpan()
The interval (in hours) at which the server saves old log messages to
another file.
|
long |
getFileTimeSpanFactor()
Defined the log rotation testing frequency.
|
FormatBean |
getFormat() |
String |
getLevel()
The predefined collection of information to log for each SIP request and response.
|
String |
getLogFilename()
The name of the log file that stores SIP messages.
|
String |
getLogFileRotationDir()
The directory where the rotated log files will be stored.
|
String |
getRotationTime()
Determines the start time (hour and minute) for a time-based rotation
sequence.
|
String |
getRotationType()
Defines the criteria for moving old log messages to a separate file.
|
StringRepBean |
getStringRep() |
boolean |
isLocalLoggingEnabled()
Specifies whether locally routed messages should be logged
|
boolean |
isLoggingEnabled()
Specifies whether the server logs SIP messages to an
independent log file.
|
boolean |
isNumberOfFilesLimited()
Indicates whether to limit the number of log files that this server
instance creates to store old messages.
|
boolean |
isRotateLogOnStartup()
Specifies whether a server rotates its log file during its startup cycle.
|
void |
setDateFormatPattern(String dateFormatPattern) |
void |
setFileCount(int fileCount) |
void |
setFileMinSize(int size) |
void |
setFileTimeSpan(int fileTimeSpan) |
void |
setFileTimeSpanFactor(long factor) |
void |
setLevel(String level) |
void |
setLocalLoggingEnabled(boolean localLoggingEnabled) |
void |
setLogFilename(String logFilename) |
void |
setLogFileRotationDir(String logFileRotationDir) |
void |
setLoggingEnabled(boolean loggingEnabled) |
void |
setNumberOfFilesLimited(boolean numberOfFilesLimited) |
void |
setRotateLogOnStartup(boolean rotateLogOnStartup) |
void |
setRotationTime(String rotationTime) |
void |
setRotationType(String rotationType) |
getName, setName
static final String PARAM_MSG_INCOMING
static final String PARAM_MSG_TIMESTAMP
static final String PARAM_MSG_DATE
static final String PARAM_MSG_TIME
static final String PARAM_MSG_FROM_ADDR
static final String PARAM_MSG_FROM_PORT
static final String PARAM_MSG_TO_ADDR
static final String PARAM_MSG_TO_PORT
static final String PARAM_MSG_TYPE
static final String PARAM_MSG_MSG_SUMMARY
static final String PARAM_MSG_CALL_ID
static final String PARAM_MSG_STATUS
static final String PARAM_MSG_REASON
static final String PARAM_MSG_METHOD
static final String PARAM_MSG_CSEQ
static final String PARAM_MSG_PROTOCOL
static final String PARAM_MSG_REQ_URI
static final String PARAM_MSG_FROM
static final String PARAM_MSG_FROM_URI
static final String PARAM_MSG_FROM_TAG
static final String PARAM_MSG_TO
static final String PARAM_MSG_TO_URI
static final String PARAM_MSG_TO_TAG
static final String PARAM_MSG_HEADERS
static final String PARAM_MSG_CONTENT_TYPE
static final String PARAM_MSG_CONTENT_LENGTH
static final String PARAM_MSG_CONTENT
static final String LEVEL_TERSE
static final String LEVEL_FULL
static final String LEVEL_BASIC
String getLevel()
The predefined collection of information to log for each SIP request and response.
The following levels are supported:
void setLevel(String level)
FormatBean getFormat()
FormatBean createFormat()
void destroyFormat()
StringRepBean getStringRep()
StringRepBean createStringRep()
void destroyStringRep()
boolean isLoggingEnabled()
Specifies whether the server logs SIP messages to an independent log file.
void setLoggingEnabled(boolean loggingEnabled)
boolean isLocalLoggingEnabled()
Specifies whether locally routed messages should be logged
void setLocalLoggingEnabled(boolean localLoggingEnabled)
long getFileTimeSpanFactor()
Defined the log rotation testing frequency.
void setFileTimeSpanFactor(long factor)
int getFileMinSize()
The size (1 - 65535 kilobytes) that triggers the server to move log messages to a separate file.
When the server checks the file size, if the log file has reached the specified minimum size, the server renames the current log file as FileName.logN, and creates a new file to store subsequent messages.
Note: This setting requires that you specify a file rotation type of 'bySize.'
void setFileMinSize(int size)
String getLogFilename()
The name of the log file that stores SIP messages.
void setLogFilename(String logFilename)
String getRotationType()
void setRotationType(String rotationType)
rotationType
- boolean isNumberOfFilesLimited()
void setNumberOfFilesLimited(boolean numberOfFilesLimited)
int getFileCount()
void setFileCount(int fileCount)
boolean isRotateLogOnStartup()
void setRotateLogOnStartup(boolean rotateLogOnStartup)
String getLogFileRotationDir()
void setLogFileRotationDir(String logFileRotationDir)
String getRotationTime()
Determines the start time (hour and minute) for a time-based rotation sequence.
Note: This setting requires that you set a log rotation type of hours and minutes ('hh:mm'; i.e., 07:30).
void setRotationTime(String rotationTime)
int getFileTimeSpan()
The interval (in hours) at which the server saves old log messages to another file.
Note: This setting requires that you set a log rotation type of hours and minutes ('hh:mm'; i.e., 07:30).
void setFileTimeSpan(int fileTimeSpan)
String getDateFormatPattern()
The date format pattern used for rendering dates in the Server log file and stdout output.
The DateFormatPattern string conforms to the specification of the
java.text.SimpleDateFormat
class.
void setDateFormatPattern(String dateFormatPattern)