Class Log4j2ConfluenceHomeLogAppenderBuilder
- java.lang.Object
-
- org.apache.log4j.builders.AbstractBuilder
-
- com.atlassian.confluence.impl.logging.log4j.appender.Log4j2ConfluenceHomeLogAppenderBuilder
-
- All Implemented Interfaces:
org.apache.log4j.builders.appender.AppenderBuilder
,org.apache.log4j.builders.Builder
- Direct Known Subclasses:
Log4j2LegacyConfluenceHomeLogAppenderBuilders.AtlassianDiagnosticsLogAppenderBuilder
,Log4j2LegacyConfluenceHomeLogAppenderBuilders.IndexLogAppenderBuilder
,Log4j2LegacyConfluenceHomeLogAppenderBuilders.IpdLogAppenderBuilder
,Log4j2LegacyConfluenceHomeLogAppenderBuilders.JmxLogAppenderBuilder
,Log4j2LegacyConfluenceHomeLogAppenderBuilders.OutgoingMailLogAppenderBuilder
,Log4j2LegacyConfluenceHomeLogAppenderBuilders.SecurityLogAppenderBuilder
,Log4j2LegacyConfluenceHomeLogAppenderBuilders.SqlLogAppenderBuilder
,Log4j2LegacyConfluenceHomeLogAppenderBuilders.SynchronyLogAppenderBuilder
@Plugin(name="com.atlassian.confluence.logging.ConfluenceHomeLogAppender", category="Log4j Builder") public class Log4j2ConfluenceHomeLogAppenderBuilder extends org.apache.log4j.builders.AbstractBuilder implements org.apache.log4j.builders.appender.AppenderBuilder
A Log4j 2.xPlugin
which creates a Log4j1.xAppender
that emulatesConfluenceHomeLogAppender
as used under log4j 1.x. This is for use by log4j2.x under its log4j1.x emulation mode.- Since:
- 7.14
- See Also:
DeferredFileAppender
-
-
Constructor Summary
Constructors Constructor Description Log4j2ConfluenceHomeLogAppenderBuilder(String prefix, Properties props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.atlassian.confluence.impl.logging.log4j.appender.DeferredFileAppender
parseAppender(String name, String appenderPrefix, String layoutPrefix, String filterPrefix, Properties props, org.apache.log4j.config.PropertiesConfiguration configuration)
org.apache.log4j.Appender
parseAppender(Element element, org.apache.log4j.xml.XmlConfiguration configuration)
-
Methods inherited from class org.apache.log4j.builders.AbstractBuilder
buildFilters, getBooleanProperty, getBooleanProperty, getBooleanValueAttribute, getIntegerProperty, getLongProperty, getNameAttribute, getNameAttributeKey, getProperties, getProperty, getProperty, getValueAttribute, getValueAttribute, set, set, set, set, substVars
-
-
-
-
Constructor Detail
-
Log4j2ConfluenceHomeLogAppenderBuilder
public Log4j2ConfluenceHomeLogAppenderBuilder(String prefix, Properties props)
-
-
Method Detail
-
parseAppender
public com.atlassian.confluence.impl.logging.log4j.appender.DeferredFileAppender parseAppender(String name, String appenderPrefix, String layoutPrefix, String filterPrefix, Properties props, org.apache.log4j.config.PropertiesConfiguration configuration)
- Specified by:
parseAppender
in interfaceorg.apache.log4j.builders.appender.AppenderBuilder
-
parseAppender
public org.apache.log4j.Appender parseAppender(Element element, org.apache.log4j.xml.XmlConfiguration configuration)
- Specified by:
parseAppender
in interfaceorg.apache.log4j.builders.appender.AppenderBuilder
-
-