@Deprecated public class CarbonConsoleAppender extends org.apache.log4j.ConsoleAppender implements LoggingBridge
| Constructor and Description |
|---|
CarbonConsoleAppender()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMaskingPatternFile()
Deprecated.
|
void |
push(LogRecord record)
Deprecated.
|
void |
setMaskingPatternFile(String maskingPatternFile)
Deprecated.
Set the maskingPatternFile parameter.
|
protected void |
subAppend(org.apache.log4j.spi.LoggingEvent loggingEvent)
Deprecated.
This overriden method takes a Logging event, get it wrapped with tenant information taken
from PrivilegedCarbonContext (by utilizing LoggingUtils.getTenantAwareLogEvent) and passes
the TenantAwareLoggingEvent to super class.
|
activateOptions, closeWriter, getFollow, getTarget, setFollow, setTargetappend, checkEntryConditions, close, createWriter, getEncoding, getImmediateFlush, requiresLayout, reset, setEncoding, setErrorHandler, setImmediateFlush, setWriter, shouldFlush, writeFooter, writeHeaderpublic void push(LogRecord record)
push in interface LoggingBridgeprotected void subAppend(org.apache.log4j.spi.LoggingEvent loggingEvent)
subAppend in class org.apache.log4j.WriterAppenderloggingEvent - - the logging event without tenant informationpublic String getMaskingPatternFile()
public void setMaskingPatternFile(String maskingPatternFile)
maskingPatternFile - : The absolute path of the masking pattern file.Copyright © 2019 WSO2 Inc. All Rights Reserved.