ra.cordra-startup.2.2.0.source-code.log4j2.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cordra-startup Show documentation
Show all versions of cordra-startup Show documentation
Embedded servlet container for turnkey deployment of Cordra.
<?xml version="1.0" encoding="UTF-8" ?> <Configuration> <Properties> <Property name="LOG_DIR">${sys:cordra.data:-.}/logs</Property> </Properties> <Appenders> <RollingFile name="error.log" filePattern="${LOG_DIR}/error.log-%d{yyyyMM}"> <PatternLayout> <Pattern>%d{yyyy-MM-dd HH:mm:ss.SSSZ} [%thread] %-5level %logger{36} %X{requestId} - %m%n</Pattern> </PatternLayout> <TimeBasedTriggeringPolicy interval="1" modulate="true" /> </RollingFile> <RollingFile name="handleAccessLogAppender" filePattern="${LOG_DIR}/handle-access.log-%d{yyyyMM}"> <PatternLayout pattern="%msg%n"/> <Policies> <TimeBasedTriggeringPolicy interval="1" modulate="true"/> </Policies> </RollingFile> </Appenders> <Loggers> <Logger name="org.eclipse.jetty.annotations.AnnotationParser" level="error"/> <Logger name="com.amazonaws.services.s3.AmazonS3Client" level="error"/> <Logger name="com.networknt.schema.JsonMetaSchema" level="error"/> <Logger name="org.apache.kafka" level="warn"/> <Logger name="net.cnri.cordra.storage.InstrumentedCordraStorage" level="trace"/> <Logger name="net.cnri.cordra.indexer.InstrumentedCordraIndexer" level="trace"/> <Logger name="net.cnri.cordra.replication.kafka.InstrumentedReplicationProducer" level="trace"/> <Logger name="net.cnri.cordra.sync.InstrumentedNameLocker" level="trace"/> <Logger name="net.cnri.cordra.sync.InstrumentedTransactionManager" level="trace"/> <Logger name="net.cnri.cordra.CordraService" level="trace"/> <Logger name="handleAccessLogger" level="info" additivity="false"> <AppenderRef ref="handleAccessLogAppender"/> </Logger> <Root level="info"><AppenderRef ref="error.log"/></Root> </Loggers> </Configuration>