"Fossies" - the Fresh Open Source Software Archive

Member "apache-log4j-2.12.4-src/log4j-core/src/test/resources/RandomAccessFileAppenderLocationTest.xml" (20 Dec 2021, 649 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     <RandomAccessFile name="RandomAccessFile" fileName="target/RandomAccessFileAppenderLocationTest.log" immediateFlush="false" append="false">
    5       <PatternLayout>
    6         <Pattern>%d %p %c{1.} [%t] %X{aKey} %m %location %ex%n</Pattern>
    7         <!--  
    8         <Pattern>%d %p %c{1.} %C %location %line [%t] %X{aKey} %m %ex%n</Pattern>
    9         -->
   10       </PatternLayout>
   11     </RandomAccessFile>
   12   </Appenders>
   13   
   14   <Loggers>
   15     <AsyncRoot level="info" includeLocation="true">
   16       <AppenderRef ref="RandomAccessFile"/>
   17     </AsyncRoot>
   18   </Loggers>
   19 </Configuration>