"Fossies" - the Fresh Open Source Software Archive

Member "apache-log4j-2.12.4-src/log4j-core/src/test/resources/RollingRandomAccessFileAppenderTest.xml" (20 Dec 2021, 729 Bytes) of package /linux/misc/apache-log4j-2.12.4-src.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0" encoding="UTF-8"?>
    2 <Configuration status="OFF">
    3   <Appenders>
    4     <RollingRandomAccessFile name="RollingRandomAccessFile" fileName="target/RollingRandomAccessFileAppenderTest.log"
    5                  filePattern="target/afterRollover-%i.log" append="false"
    6                  immediateFlush="false">
    7       <PatternLayout>
    8         <Pattern>%d %p %c{1.} [%t] %X{aKey} %m %location %ex%n</Pattern>
    9       </PatternLayout>
   10       <Policies>
   11         <SizeBasedTriggeringPolicy size="250 B"/>
   12       </Policies>
   13     </RollingRandomAccessFile>
   14   </Appenders>
   15   
   16   <Loggers>
   17     <AsyncRoot level="info" includeLocation="false">
   18       <AppenderRef ref="RollingRandomAccessFile"/>
   19     </AsyncRoot>
   20   </Loggers>
   21 </Configuration>