blob: 3d1a9a3ed06f57a79985da703ca04caae7d335aa [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" ?>
<!--
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.
-->
<!--
Logging settings for the Drill-on-YARN application master.
See http://logback.qos.ch/manual/index.html for more information.
YARN already captures stdout and stderr, and the AM produces
moderate amount of logging, so the logging simply goes to stdout
and from there into the YARN-provided output log directory.
-->
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
</pattern>
</encoder>
</appender>
<logger name="org.apache.drill" additivity="false">
<level value="info" />
<appender-ref ref="STDOUT" />
</logger>
<!-- All Drill-on-YARN code is under the org.apache.drill.yarn package.
Level defaults to info, which provides an overview of AM activities.
Set to "error" if the information is not needed.
-->
<logger name="org.apache.drill.yarn" additivity="false">
<level value="info" />
<appender-ref ref="STDOUT" />
</logger>
<root>
<level value="error" />
<appender-ref ref="STDOUT" />
</root>
</configuration>