.cluster-microservice-provider.2.0.source-code.log4j2.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <Configuration status="warn"> <Appenders> <Console name="CONSOLE" target="SYSTEM_OUT"> <PatternLayout pattern="%d %-5p {%c} %m%n"/> </Console> <RollingFile name="ROLLING" fileName="./silverware.log" filePattern="./silverware.log.%d{yyyy-MM-dd}"> <PatternLayout pattern="%d %-5p [%t] {%c} %m%n"/> <Policies> <TimeBasedTriggeringPolicy /> </Policies> <DefaultRolloverStrategy max="10"/> </RollingFile> <Async name="ASYNC"> <AppenderRef ref="ROLLING"/> <AppenderRef ref="CONSOLE"/> </Async> </Appenders> <Loggers> <Logger name="com" level="info"/> <Logger name="org" level="info"/> <Logger name="java" level="info"/> <Logger name="org.jboss.weld" level="trace"/> <Logger name="io.silverware" level="info"/> <Root level="trace"> <AppenderRef ref="ASYNC"/> </Root> </Loggers> </Configuration>