"Fossies" - the Fresh Open Source Software Archive

Member "apache-log4j-2.12.4-src/log4j-iostreams/src/test/resources/log4j2-streams-calling-info.xml" (20 Dec 2021, 1458 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 <!--
    3   ~ Licensed to the Apache Software Foundation (ASF) under one or more
    4   ~ contributor license agreements.  See the NOTICE file distributed with
    5   ~ this work for additional information regarding copyright ownership.
    6   ~ The ASF licenses this file to You under the Apache License, Version 2.0
    7   ~ (the "License"); you may not use this file except in compliance with
    8   ~ the License.  You may obtain a copy of the License at
    9   ~
   10   ~     http://www.apache.org/licenses/LICENSE-2.0
   11   ~
   12   ~ Unless required by applicable law or agreed to in writing, software
   13   ~ distributed under the License is distributed on an "AS IS" BASIS,
   14   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   15   ~ See the License for the specific language governing permissions and
   16   ~ limitations under the License.
   17   -->
   18 <Configuration name="CallerInformationTest" status="error">
   19   <Appenders>
   20     <List name="ClassAndMethod">
   21       <PatternLayout pattern="%class.%method"/>
   22     </List>
   23     <List name="IoBuilderTest">
   24       <PatternLayout pattern="%class.%method"/>
   25     </List>
   26   </Appenders>
   27   <Loggers>
   28     <Logger name="ClassAndMethodLogger" level="info">
   29       <AppenderRef ref="ClassAndMethod"/>
   30     </Logger>
   31     <Logger name="org.apache.logging.log4j.io.IoBuilderTest" level="info" additivity="false">
   32       <AppenderRef ref="IoBuilderTest"/>
   33     </Logger>
   34     <Root level="off"/>
   35   </Loggers>
   36 </Configuration>