Package | Description |
---|---|
com.genesyslab.platform.apptemplate.application |
This package provides helper components for connectivity with Genesys Configuration Framework.
|
com.genesyslab.platform.apptemplate.lmslogger |
This package provides support of Genesys LMS files and LMS events logging.
|
com.genesyslab.platform.apptemplate.lmslogger.impl |
This package contains internal functionality of LMS Logging and
Message Server delivery subsystems.
|
com.genesyslab.platform.apptemplate.lmslogger.jul |
This package contains
java.util.logging based implementation of
LmsEventLogger and correspondent
LmsLoggerFactory . |
com.genesyslab.platform.apptemplate.lmslogger.log4j |
This package contains Log4j v1.x implementation of
LmsEventLogger and correspondent
LmsLoggerFactory . |
com.genesyslab.platform.apptemplate.lmslogger.log4j2 |
This package contains Log4j2 implementation of
LmsEventLogger and correspondent
LmsLoggerFactory . |
com.genesyslab.platform.apptemplate.lmslogger.slf4j |
This package contains Slf4j implementation of
LmsEventLogger and correspondent
LmsLoggerFactory . |
com.genesyslab.platform.apptemplate.log4j2 |
This package contains a set of AppTemplate classes related to Log4j v2 support.
|
Modifier and Type | Field | Description |
---|---|---|
protected LmsMessageConveyor |
AbstractManagerBuilder.lmsConveyor |
|
protected LmsMessageConveyor |
GFApplicationConfigurationManager.lmsMessageConveyor |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
GFAppCfgLogOptionsEventListener.applyLoggingOptions(GFApplicationContext appCtx,
IGApplicationConfiguration appConfig,
CfgDeltaApplication deltaApp,
LmsMessageConveyor lmsMessages) |
Applies new logging options to given
LmsMessagesConveyor . |
protected void |
GFApplicationConfigurationManager.initLmsFactory(LmsMessageConveyor lmsMessages) |
|
B |
AbstractManagerBuilder.withLmsConveyor(LmsMessageConveyor lms) |
Initializes custom instance of
LmsMessageConveyor .If this property is not specified (usual case), the application configuration manager will create default instance of it ( LmsMessageConveyor() ). |
Modifier and Type | Field | Description |
---|---|---|
protected LmsMessageConveyor |
AbstractLmsEventLogger.lmsMessages |
Modifier and Type | Method | Description |
---|---|---|
LmsMessageConveyor |
LmsMessageConveyor.Builder.build() |
Creates new instance of
LmsMessageConveyor with given parameters. |
LmsMessageConveyor |
LmsMessageConveyor.clone() |
|
protected LmsMessageConveyor |
LmsLoggerFactory.AbstractFactoryBuilder.getLmsConveyor() |
|
LmsMessageConveyor |
LmsLoggerFactory.getMessageConveyor() |
Returns reference to the LmsMessageConveyor instance of this logger factory.
|
LmsMessageConveyor |
LmsLoggerFactory.WrappedLoggerFactory.getMessageConveyor() |
|
LmsMessageConveyor |
LmsMessageConveyor.loadConfiguration(IGApplicationConfiguration appConfig) |
Loads and initializes conveyor configuration based on
"log" and
"log-extended" sections of configuration server application object options. |
LmsMessageConveyor |
LmsMessageConveyor.loadConfiguration(GAppLoggingOptions logOptions) |
Loads and initializes conveyor configuration based on
"log" and
"log-extended" sections of configuration server application object options. |
LmsMessageConveyor |
LmsMessageConveyor.loadConfiguration(KeyValueCollection optsLog,
KeyValueCollection optsLogExt) |
Loads and initializes conveyor configuration based on
"log" and
"log-extended" sections of configuration server application object options. |
LmsMessageConveyor |
LmsMessageConveyor.loadConfiguration(java.lang.String messagefiles) |
Loads content and initializes messages IDs mapping of given LMS files.
|
LmsMessageConveyor |
LmsMessageConveyor.loadConfiguration(java.lang.String messagefiles,
java.util.Map<java.lang.Integer,LmsLogLevel> levelsReassign) |
Loads content and initializes messages IDs mapping of given LMS files.
|
Modifier and Type | Method | Description |
---|---|---|
static LmsLoggerFactory |
LmsLoggerFactory.createInstance(LmsMessageConveyor lmsConveyor) |
Creates and initializes the application singleton instance of
LmsLoggerFactory . |
static LmsLoggerFactory |
LmsLoggerFactory.setLoggerFactoryImpl(java.lang.String factoryName,
LmsMessageConveyor lmsConveyor) |
Sets LMS logging system implementation.
It may initialize LMS logging to work with one of PSDK built-in implementations, or user defined one, by its fully qualified class name or alias name. Following alias names are supported: Log.LOG_FACTORY_CONSOLE ("console" ) - This implementation of LMS logging functionality
prints LMS events to stdout ;
Log.LOG_FACTORY_LOG4J2 ("log4j2" ) - This factory is to send LMS events to Log4j v2.x
logging framework;
Log.LOG_FACTORY_SLF4J ("slf4j" ) - This factory is to send LMS events to Slf4j API;
Log.LOG_FACTORY_LOG4J ("log4j" ) - This factory is to send LMS events to Log4j v1.x
logging framework;
Log.LOG_FACTORY_JUL ("jul" ) - This factory is to send LMS events to
java.util.logging facade;
Log.LOG_FACTORY_AUTO ("auto" ) - It tries to detect available logging framework
for LMS events logging in the following order: Log4j2 ,
Slf4j , Log4j ;
if none of these frameworks is available, java.util.logging
will be used;
Log.LOG_FACTORY_NONE ("none" ) - It is to do not log events from LMS events loggers.
|
B |
LmsLoggerFactory.AbstractFactoryBuilder.withLmsConveyor(LmsMessageConveyor conveyor) |
Constructor | Description |
---|---|
AbstractLmsEventLogger(LmsMessageConveyor imc) |
|
LmsLoggerFactory(LmsMessageConveyor lmsc) |
Protected constructor of the abstract class.
|
Constructor | Description |
---|---|
JulLmsEventLogger(LmsMessageConveyor imc,
java.util.logging.Logger logger) |
|
JulLmsLoggerFactory(LmsMessageConveyor lmsc) |
The factory constructor.
|
Constructor | Description |
---|---|
Log4jLmsEventLogger(LmsMessageConveyor imc,
org.apache.log4j.Logger logger) |
|
Log4jLmsLoggerFactory(LmsMessageConveyor lmsc) |
The factory constructor.
It is not supposed for explicit usage by application. The abstract factory LmsLoggerFactory calls it when Log4j v1.x logging target is enabled. |
Constructor | Description |
---|---|
Log4j2LmsEventLogger(LmsMessageConveyor imc,
org.apache.logging.log4j.Logger logger) |
|
Log4j2LmsLoggerFactory(LmsMessageConveyor lmsc) |
The factory constructor.
It is not supposed for explicit usage by application. The abstract factory LmsLoggerFactory calls it when Log4j2 logging target is enabled. |
Constructor | Description |
---|---|
Slf4jLmsEventLogger(LmsMessageConveyor imc,
org.slf4j.Logger logger) |
|
Slf4jLmsLoggerFactory(LmsMessageConveyor lmsc) |
The factory constructor.
It is not supposed for explicit usage by application. The abstract factory LmsLoggerFactory calls it when SLF4J logging target is used. |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
Log4j2Configurator.applyLoggingConfig(IGApplicationConfiguration appConfig,
LmsMessageConveyor lmsConveyor) |
Parses and applies Log4j2 logging configuration to the LoggerContext.
|
static boolean |
Log4j2Configurator.applyLoggingConfig(org.apache.logging.log4j.core.config.Configuration config,
IGApplicationConfiguration appConfig,
LmsMessageConveyor lmsConveyor) |
Applies Log4j2 logging configuration to the LoggerContext.
|
protected boolean |
GFAppLog4j2Updater.applyLoggingOptions(GFApplicationContext appCtx,
IGApplicationConfiguration appConfig,
CfgDeltaApplication deltaApp,
LmsMessageConveyor lmsMessages) |
Parses logging options of given application configuration and applies it
to the Log4j2 logging framework.
|
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.