| <?xml version="1.0" encoding="UTF-8"?> |
| <Configuration status="OFF"> |
| <Appenders> |
| <RollingRandomAccessFile name="RollingRandomAccessFile" fileName="target/RollingRandomAccessFileAppenderTest.log" |
| filePattern="target/afterRollover-%i.log" append="false" |
| immediateFlush="false"> |
| <PatternLayout> |
| <Pattern>%d %p %c{1.} [%t] %X{aKey} %m %location %ex%n</Pattern> |
| </PatternLayout> |
| <Policies> |
| <SizeBasedTriggeringPolicy size="250 B"/> |
| </Policies> |
| </RollingRandomAccessFile> |
| </Appenders> |
| |
| <Loggers> |
| <AsyncRoot level="info" includeLocation="false"> |
| <AppenderRef ref="RollingRandomAccessFile"/> |
| </AsyncRoot> |
| </Loggers> |
| </Configuration> |