public class JdkLoggerFormatter extends Formatter
log4j.rootCategory=WARN, A1 log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.Target=System.err log4j.appender.A1.layout.ConversionPattern=%r %-15.15c{2} %-1.1p %m %nExample: 1130122891846 Http11BaseProtocol I Initializing Coyote HTTP/1.1 on http-8800
Modifier and Type | Field and Description |
---|---|
static int |
LOG_LEVEL_DEBUG |
static int |
LOG_LEVEL_ERROR |
static int |
LOG_LEVEL_FATAL |
static int |
LOG_LEVEL_INFO |
static int |
LOG_LEVEL_TRACE |
static int |
LOG_LEVEL_WARN |
Constructor and Description |
---|
JdkLoggerFormatter() |
public static final int LOG_LEVEL_TRACE
public static final int LOG_LEVEL_DEBUG
public static final int LOG_LEVEL_INFO
public static final int LOG_LEVEL_WARN
public static final int LOG_LEVEL_ERROR
public static final int LOG_LEVEL_FATAL
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.