blob: 5ed335a8c3e805c2425a6540429360e8f702d8b7 [file]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Set everything to be logged to the file target/unit-tests.log
rootLogger.level = warn
rootLogger.appenderRef.file.ref = ${sys:test.appender:-File}
appender.file.type = File
appender.file.name = File
appender.file.fileName = target/unit-tests.log
appender.file.layout.type = PatternLayout
appender.file.layout.pattern = %d{yy/MM/dd HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex
# Tests that launch java subprocesses can set the "test.appender" system property to
# "console" to avoid having the child process's logs overwrite the unit test's
# log file.
appender.console.type = Console
appender.console.name = console
appender.console.target = SYSTEM_ERR
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{yy/MM/dd HH:mm:ss.SSS} %t %p %c{1}: %m%n%ex
# Enable DEBUG logs for Livy classes (with some exceptions).
logger.livy.name = org.apache.livy
logger.livy.level = debug
logger.livy_rsc.name = org.apache.livy.rsc
logger.livy_rsc.level = info
logger.livy_shaded.name = org.apache.livy.shaded
logger.livy_shaded.level = info
logger.livy_cli_service.name = org.apache.livy.thriftserver.LivyCLIService
logger.livy_cli_service.level = info