"Fossies" - the Fresh Open Source Software Archive

Member "apache-log4j-2.12.4-src/log4j-slf4j18-impl/src/test/resources/log4j2-1482.xml" (20 Dec 2021, 857 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="warn" name="MyApp" packages="">
    3   <Properties>
    4     <Property name="audit-path">target/log4j2-1482</Property>
    5     <Property name="file-name">audit</Property>
    6     <Property name="file-header">param1,param2,param3${sys:line.separator}
    7     </Property>
    8   </Properties>
    9 
   10   <Appenders>
   11     <RollingFile name="auditfile" fileName="${audit-path}/${file-name}.tmp"
   12       filePattern="${audit-path}/${file-name}-%d{yyyy-MM-dd}-%i.csv">
   13       <CsvParameterLayout delimiter="," header="${file-header}">
   14       </CsvParameterLayout>
   15       <Policies>
   16         <SizeBasedTriggeringPolicy size="80 B" />
   17       </Policies>
   18       <DefaultRolloverStrategy max="2" />
   19     </RollingFile>
   20   </Appenders>
   21 
   22   <Loggers>
   23     <Root level="info">
   24       <AppenderRef ref="auditfile" />
   25     </Root>
   26   </Loggers>
   27 </Configuration>