Action<GFAppCfgEvent>
, Subscriber<GFAppCfgEvent>
public class GFAppLog4j2Updater extends GFAppCfgLogOptionsEventListener
GFAppCfgLogOptionsEventListener.TheAppLogOptionsFilter
GFAppCfgOptionsEventListener.TheAppConfigDataFilter
LOG_EXT_SECTION_NAME, LOG_SECTION_NAME, THE_APP_LOG_OPTIONS_FILTER
THE_APP_CONFIGDATA_FILTER
Constructor | Description |
---|---|
GFAppLog4j2Updater() |
Creates an instance of Log4j2 logging configuration updater.
|
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
applyLoggingOptions(GFApplicationContext appCtx,
IGApplicationConfiguration appConfig,
CfgDeltaApplication deltaApp,
LmsMessageConveyor lmsMessages) |
Parses logging options of given application configuration and applies it
to the Log4j2 logging framework.
|
containsMessageServerConnection, diffSection, getFilter, handle, logOptionsChanged, onAppConfigReceived, onAppConfigUpdated
public GFAppLog4j2Updater()
java.lang.IllegalArgumentException
- if no Log4j2 API or Log4j2 CORE library available.protected boolean applyLoggingOptions(GFApplicationContext appCtx, IGApplicationConfiguration appConfig, CfgDeltaApplication deltaApp, LmsMessageConveyor lmsMessages)
applyLoggingOptions
in class GFAppCfgLogOptionsEventListener
appCtx
- the application configuration managers context.appConfig
- the new application configuration to apply.deltaApp
- the application delta object caused the configuration update, or null.lmsMessages
- the LMS messages conveyor to update correspondent options to.true
- if application logging configuration was updated with new configuration,
false
- if no changes were applied.Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.