LogConfiguration
, LogConfigurationExt
public final class LogConfigurationImpl extends java.lang.Object implements LogConfigurationExt
Modifier and Type | Field | Description |
---|---|---|
protected TargetsConfigurationImpl |
targets |
Constructor | Description |
---|---|
LogConfigurationImpl() |
Creates the default configuration.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getApplicationHost() |
The host of application to be used in the logs.
|
int |
getApplicationId() |
The Id of application to be used in the logs.
|
java.lang.String |
getApplicationName() |
The name of application to be used in the logs.
|
int |
getApplicationType() |
The type of application to be used in the logs.
|
java.util.Map<java.lang.Integer,LogLevel> |
getLevelsReassignmentMap() |
Specifies a log level for log event
<eventID> that is different than its default
level, or disables log event <eventID> completely. |
java.lang.String |
getMessageFile() |
Gets the name of application-specific lms file.
|
TargetsConfiguration |
getTargets() |
Gets the configuration of output targets.
|
TimeUsage |
getTimeUsage() |
Gets the time converting to be used in the logs.
|
VerboseLevel |
getVerbose() |
Gets the verbose level of the logger.
|
java.lang.Boolean |
isLevelsReassignmentDisabled() |
When this option is set to true, the original (default) log level of all log events
in the
[log-extended] section are restored.This option is useful when you want to use the default levels, but not delete the customization statements. |
void |
setApplicationHost(java.lang.String applicationHost) |
|
void |
setApplicationId(int applicationId) |
|
void |
setApplicationName(java.lang.String applicationName) |
|
void |
setApplicationType(int applicationType) |
|
void |
setLevelsReassignmentDisabled(java.lang.Boolean reassignmentDisabled) |
|
void |
setLevelsReassignmentMap(java.util.Map<java.lang.Integer,LogLevel> reassignmentMap) |
|
void |
setMessageFile(java.lang.String messageFile) |
|
void |
setTimeUsage(TimeUsage timeUsage) |
|
void |
setVerbose(VerboseLevel verbose) |
|
java.lang.String |
toString() |
protected TargetsConfigurationImpl targets
public LogConfigurationImpl()
public TargetsConfiguration getTargets()
getTargets
in interface LogConfiguration
public java.lang.String getApplicationName()
LogConfiguration
getApplicationName
in interface LogConfiguration
public void setApplicationName(java.lang.String applicationName)
public java.lang.String getApplicationHost()
LogConfiguration
getApplicationHost
in interface LogConfiguration
public void setApplicationHost(java.lang.String applicationHost)
public int getApplicationType()
LogConfiguration
getApplicationType
in interface LogConfiguration
public void setApplicationType(int applicationType)
public int getApplicationId()
LogConfiguration
getApplicationId
in interface LogConfiguration
public void setApplicationId(int applicationId)
public TimeUsage getTimeUsage()
LogConfiguration
getTimeUsage
in interface LogConfiguration
public void setTimeUsage(TimeUsage timeUsage)
public VerboseLevel getVerbose()
LogConfiguration
getVerbose
in interface LogConfiguration
public void setVerbose(VerboseLevel verbose)
public java.lang.String getMessageFile()
LogConfiguration
getMessageFile
in interface LogConfiguration
public void setMessageFile(java.lang.String messageFile)
public java.lang.Boolean isLevelsReassignmentDisabled()
LogConfigurationExt
[log-extended]
section are restored.isLevelsReassignmentDisabled
in interface LogConfigurationExt
LogConfigurationExt.getLevelsReassignmentMap()
public void setLevelsReassignmentDisabled(java.lang.Boolean reassignmentDisabled)
public java.util.Map<java.lang.Integer,LogLevel> getLevelsReassignmentMap()
LogConfigurationExt
<eventID>
that is different than its default
level, or disables log event <eventID>
completely. If no value is specified, the
log event retains its default level. This option is useful when you want to
customize the log level for selected log events."level-reassign-disable" option
(LogConfigurationExt.isLevelsReassignmentDisabled()
).
getLevelsReassignmentMap
in interface LogConfigurationExt
LogConfigurationExt.isLevelsReassignmentDisabled()
public void setLevelsReassignmentMap(java.util.Map<java.lang.Integer,LogLevel> reassignmentMap)
public java.lang.String toString()
toString
in class java.lang.Object
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.