@Plugin(name="SpringBootConfigurationFactory",
category="ConfigurationFactory")
public class SpringBootConfigurationFactory
extends org.apache.logging.log4j.core.config.ConfigurationFactory
ConfigurationFactory
:log4j2.springboot
クラスパスリソース(この jar にバンドルされている)によってトリガーされます。Log4J2LoggingSystem
がアクティブの場合、システムが正しい構成ファイルを使用して Log4J2 を後で再初期化することを期待して、カスタム DefaultConfiguration
が返されます。コンストラクターと説明 |
---|
SpringBootConfigurationFactory() |
修飾子と型 | メソッドと説明 |
---|---|
org.apache.logging.log4j.core.config.Configuration | getConfiguration(org.apache.logging.log4j.core.LoggerContext loggerContext, org.apache.logging.log4j.core.config.ConfigurationSource source) |
protected StringSE[] | getSupportedTypes() |
getConfiguration, getConfiguration, getInputFromString, getInstance, isActive, removeConfigurationFactory, resetConfigurationFactory, setConfigurationFactory
newConfigurationBuilder, newConfigurationBuilder
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
protected StringSE[] getSupportedTypes()
org.apache.logging.log4j.core.config.ConfigurationFactory
の getSupportedTypes
public org.apache.logging.log4j.core.config.Configuration getConfiguration(org.apache.logging.log4j.core.LoggerContext loggerContext, org.apache.logging.log4j.core.config.ConfigurationSource source)
org.apache.logging.log4j.core.config.ConfigurationFactory
の getConfiguration
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.