"Fossies" - the Fresh Open Source Software Archive

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


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

    1 #
    2 # Licensed to the Apache Software Foundation (ASF) under one or more
    3 # contributor license agreements. See the NOTICE file distributed with
    4 # this work for additional information regarding copyright ownership.
    5 # The ASF licenses this file to You under the Apache license, Version 2.0
    6 # (the "License"); you may not use this file except in compliance with
    7 # the License. You may obtain a copy of the License at
    8 #
    9 #      http://www.apache.org/licenses/LICENSE-2.0
   10 #
   11 # Unless required by applicable law or agreed to in writing, software
   12 # distributed under the License is distributed on an "AS IS" BASIS,
   13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   14 # See the license for the specific language governing permissions and
   15 # limitations under the license.
   16 #
   17 
   18 status = off
   19 name = PropertiesConfigTest
   20 
   21 property.filename = target/test-properties.log
   22 
   23 filter.threshold.type = ThresholdFilter
   24 filter.threshold.level = debug
   25 
   26 appender.console.name = STDOUT
   27 appender.console.type = Console
   28 appender.console.layout.type = PatternLayout
   29 appender.console.layout.pattern = %m%n
   30 
   31 appender.file.name = File
   32 appender.file.type = File
   33 appender.file.fileName = ${filename}
   34 appender.file.bufferedIO = false
   35 appender.file.layout.type = PatternLayout
   36 appender.file.layout.pattern = %d %p %C{1.} [%t] %m%n
   37 
   38 appender.list.name = List
   39 appender.list.type = List
   40 appender.list.filter.threshold.type = ThresholdFilter
   41 appender.list.filter.threshold.level = error
   42 
   43 logger.test1.name = org.apache.logging.log4j.test1
   44 logger.test1.level = debug
   45 logger.test1.additivity = false
   46 logger.test1.filter.mdc.type = ThreadContextMapFilter
   47 logger.test1.filter.mdc.pair.type = KeyValuePair
   48 logger.test1.filter.mdc.pair.key = test
   49 logger.test1.filter.mdc.pair.value = 123
   50 logger.test1.appenderRef.console.ref = STDOUT
   51 
   52 logger.test2.name = org.apache.logging.log4j.test2
   53 logger.test2.level = debug
   54 logger.test2.additivity = false
   55 logger.test2.appenderRef.file.ref = File
   56 
   57 rootLogger.level = error
   58 rootLogger.appenderRef.console.ref = STDOUT