github.com/apache/beam/sdks/v2@v2.48.2/java/testing/nexmark/src/main/resources/log4j.properties (about)

     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  # Set everything to be logged to the console
    19  log4j.rootCategory=WARN, console
    20  log4j.appender.console=org.apache.log4j.ConsoleAppender
    21  log4j.appender.console.target=System.err
    22  log4j.appender.console.layout=org.apache.log4j.PatternLayout
    23  log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c: %m%n
    24  
    25  # General Beam loggers
    26  log4j.logger.org.apache.beam.runners.direct=WARN
    27  log4j.logger.org.apache.beam.sdk=WARN
    28  
    29  # Nexmark specific
    30  log4j.logger.org.apache.beam.sdk.nexmark=WARN
    31  
    32  # Settings to quiet third party logs that are too verbose
    33  log4j.logger.org.spark_project.jetty=WARN
    34  log4j.logger.org.spark_project.jetty.util.component.AbstractLifeCycle=ERROR
    35  
    36  # Setting to quiet spark logs, Beam logs should standout
    37  log4j.logger.org.apache.beam.runners.spark=WARN
    38  log4j.logger.org.apache.spark=WARN
    39  log4j.logger.org.spark-project=WARN
    40  log4j.logger.io.netty=INFO
    41  
    42  # Settings to quiet flink logs
    43  log4j.logger.org.apache.flink=WARN
    44  
    45  # SPARK-9183: Settings to avoid annoying messages when looking up nonexistent UDFs in SparkSQL with Hive support
    46  log4j.logger.org.apache.hadoop.hive.metastore.RetryingHMSHandler=FATAL
    47  log4j.logger.org.apache.hadoop.hive.ql.exec.FunctionRegistry=ERROR
    48  
    49  # Avoid excessive netty logging on ZetaSQL
    50  log4j.logger.com.google.zetasql.io.grpc.netty=WARN