"Fossies" - the Fresh Open Source Software Archive

Member "apache-log4j-2.12.4-src/log4j-1.2-api/src/test/resources/config-1.2/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/src/test/resources/log4j.properties" (20 Dec 2021, 1949 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.properties": 2.17.1_vs_2.17.2-rc1.

    1 #
    2 # 
    3 # Licensed to the Apache Software Foundation (ASF) under one
    4 # or more contributor license agreements.  See the NOTICE file
    5 # distributed with this work for additional information
    6 # regarding copyright ownership.  The ASF licenses this file
    7 # to you under the Apache License, Version 2.0 (the
    8 # "License"); you may not use this file except in compliance
    9 # with the License.  You may obtain a copy of the License at
   10 # 
   11 #   http://www.apache.org/licenses/LICENSE-2.0
   12 # 
   13 # Unless required by applicable law or agreed to in writing,
   14 # software distributed under the License is distributed on an
   15 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   16 # KIND, either express or implied.  See the License for the
   17 # specific language governing permissions and limitations
   18 # under the License.
   19 # 
   20 #
   21 
   22 #
   23 # Bookkeeper Journal Logging Configuration
   24 #
   25 
   26 # Format is "<default threshold> (, <appender>)+
   27 
   28 # DEFAULT: console appender only
   29 log4j.rootLogger=DEBUG, CONSOLE
   30 
   31 # Example with rolling log file
   32 #log4j.rootLogger=DEBUG, CONSOLE, ROLLINGFILE
   33 
   34 # Example with rolling log file and tracing
   35 #log4j.rootLogger=TRACE, CONSOLE, ROLLINGFILE, TRACEFILE
   36 
   37 #
   38 # Log INFO level and above messages to the console
   39 #
   40 log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
   41 log4j.appender.CONSOLE.Threshold=INFO
   42 log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
   43 log4j.appender.CONSOLE.layout.ConversionPattern=%d{ISO8601} - %-5p - [%t:%C{1}@%L] - %m%n
   44 
   45 #
   46 # Add ROLLINGFILE to rootLogger to get log file output
   47 #    Log DEBUG level and above messages to a log file
   48 log4j.appender.ROLLINGFILE=org.apache.log4j.DailyRollingFileAppender
   49 log4j.appender.ROLLINGFILE.Threshold=DEBUG
   50 log4j.appender.ROLLINGFILE.File=hdfs-namenode.log
   51 log4j.appender.ROLLINGFILE.layout=org.apache.log4j.PatternLayout
   52 log4j.appender.ROLLINGFILE.layout.ConversionPattern=%d{ISO8601} - %-5p - [%t:%C{1}@%L] - %m%n
   53 
   54 # Max log file size of 10MB
   55 log4j.appender.ROLLINGFILE.MaxFileSize=10MB