public class StackTraceLayout
extends org.apache.log4j.Layout
log4j.appender.RiotAppender=org.apache.log4j.RollingFileAppender
log4j.appender.RiotAppender.File= $${catalina.base}/logs/${webapp.name}.riot.log
log4j.appender.RiotAppender.MaxFileSize=10MB
log4j.appender.RiotAppender.MaxBackupIndex=10
log4j.appender.RiotAppender.layout=edu.cornell.mannlib.vitro.webapp.utils.logging.StackTraceLayout
log4j.logger.org.apache.jena.riot=INFO, RiotAppender
| Constructor and Description |
|---|
StackTraceLayout() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateOptions() |
String |
format(org.apache.log4j.spi.LoggingEvent event)
Print the level, the message, and the full stack trace.
|
boolean |
ignoresThrowable()
The StackTraceLayout does not handle the throwable contained within
LoggingEvents.
|
public void activateOptions()
public String format(org.apache.log4j.spi.LoggingEvent event)
format in class org.apache.log4j.Layoutpublic boolean ignoresThrowable()
true.ignoresThrowable in class org.apache.log4j.LayoutCopyright © 2022. All rights reserved.