diff options
Diffstat (limited to 'src/main/resources/log4j2-async-10k.xml')
| -rw-r--r-- | src/main/resources/log4j2-async-10k.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/resources/log4j2-async-10k.xml b/src/main/resources/log4j2-async-10k.xml new file mode 100644 index 0000000..b2d26a9 --- /dev/null +++ b/src/main/resources/log4j2-async-10k.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Configuration status="WARN"> + <Appenders> + <File name="File" fileName="target/bench.log" immediateFlush="false" bufferSize="8192"> + <PatternLayout pattern="[ASYNC-10K] %d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/> + </File> + </Appenders> + <Loggers> + <AsyncLogger name="bench" level="info" includeLocation="false"> + <AppenderRef ref="File"/> + </AsyncLogger> + <Root level="info" includeLocation="false"> + <AppenderRef ref="File"/> + </Root> + </Loggers> + <Properties> + <Property name="log4j2.asyncLoggerRingBufferSize">10240</Property> + </Properties> +</Configuration> |
