|
| 1 | +# Licensed to the Apache Software Foundation (ASF) under one |
| 2 | +# or more contributor license agreements. See the NOTICE file |
| 3 | +# distributed with this work for additional information |
| 4 | +# regarding copyright ownership. The ASF licenses this file |
| 5 | +# to you under the Apache License, Version 2.0 (the |
| 6 | +# "License"); you may not use this file except in compliance |
| 7 | +# with 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 | +status = INFO |
| 18 | +name = BeelineLog4j2 |
| 19 | +packages = org.apache.hadoop.hive.ql.log |
| 20 | + |
| 21 | +# list of properties |
| 22 | +property.hive.log.level = FATAL |
| 23 | +property.hive.root.logger = console |
| 24 | + |
| 25 | +# list of all appenders |
| 26 | +appenders = console |
| 27 | + |
| 28 | +# console appender |
| 29 | +appender.console.type = Console |
| 30 | +appender.console.name = console |
| 31 | +appender.console.target = SYSTEM_ERR |
| 32 | +appender.console.layout.type = PatternLayout |
| 33 | +appender.console.layout.pattern = %d{yy/MM/dd HH:mm:ss} [%t]: %p %c{2}: %m%n |
| 34 | + |
| 35 | +# list of all loggers |
| 36 | +loggers = HiveConnection |
| 37 | + |
| 38 | +# HiveConnection logs useful info for dynamic service discovery |
| 39 | +logger.HiveConnection.name = org.apache.hive.jdbc.HiveConnection |
| 40 | +logger.HiveConnection.level = INFO |
| 41 | + |
| 42 | +# root logger |
| 43 | +rootLogger.level = ${sys:hive.log.level} |
| 44 | +rootLogger.appenderRefs = root |
| 45 | +rootLogger.appenderRef.root.ref = ${sys:hive.root.logger} |
0 commit comments