"Fossies" - the Fresh Open Source Software Archive

Member "apache-log4j-2.12.4-src/log4j-core/src/test/resources/log4j-routing.properties" (20 Dec 2021, 2450 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. See also the last Fossies "Diffs" side-by-side code changes report for "log4j-routing.properties": 2.17.1_vs_2.17.2-rc1.

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