blob: c0197a46715d9d8aac8b21beb07b67ee17a841b2 [file] [log] [blame]
Murtadha Hubailaf4018d2017-12-15 17:56:38 +03001<!--
2 ! Licensed to the Apache Software Foundation (ASF) under one
3 ! or more contributor license agreements. See the NOTICE file
4 ! distributed with this work for additional information
5 ! regarding copyright ownership. The ASF licenses this file
6 ! to you under the Apache License, Version 2.0 (the
Hussain Towailebbe8dddf2019-02-20 06:42:18 +03007 ! "License"); you may not use this file except in compliance
Murtadha Hubailaf4018d2017-12-15 17:56:38 +03008 ! with the License. You may obtain a copy of the License at
9 !
10 ! http://www.apache.org/licenses/LICENSE-2.0
11 !
12 ! Unless required by applicable law or agreed to in writing,
13 ! software distributed under the License is distributed on an
14 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ! KIND, either express or implied. See the License for the
16 ! specific language governing permissions and limitations
17 ! under the License.
18 !-->
Ian Maxon8f378b52018-01-23 16:33:46 -080019<Configuration status="WARN">
Ian Maxon31fb2e72018-08-13 18:43:21 -070020 <CustomLevels>
21 <CustomLevel name="ACCESS" intLevel="550" />
Ian Maxon7b073682018-12-16 18:46:03 -080022 <CustomLevel name="TRACER" intLevel="570" />
Ian Maxon31fb2e72018-08-13 18:43:21 -070023 </CustomLevels>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +030024 <Appenders>
Ian Maxon8f378b52018-01-23 16:33:46 -080025 <Console name="Console" target="SYSTEM_OUT">
Murtadha Hubailaf4018d2017-12-15 17:56:38 +030026 <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
27 </Console>
Ian Maxon31fb2e72018-08-13 18:43:21 -070028 <Console name="AccessLog" target="SYSTEM_OUT">
29 <PatternLayout pattern="%m%n"/>
30 </Console>
Ian Maxon7b073682018-12-16 18:46:03 -080031 <Console name="TracerLog" target="SYSTEM_OUT">
32 <PatternLayout pattern="%m%n"/>
33 </Console>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +030034 </Appenders>
35 <Loggers>
Ian Maxon8f378b52018-01-23 16:33:46 -080036 <Root level="WARN">
Murtadha Hubailaf4018d2017-12-15 17:56:38 +030037 <AppenderRef ref="Console"/>
38 </Root>
Michael Blowd7534792018-02-04 17:06:18 -050039 <Logger name="org.apache.hyracks.control.nc.service" level="INFO"/>
Ian Maxon31fb2e72018-08-13 18:43:21 -070040 <Logger name="org.apache.hyracks.http.server.CLFLogger" level="ACCESS" additivity="false">
41 <AppenderRef ref="AccessLog"/>
42 </Logger>
Ian Maxon7b073682018-12-16 18:46:03 -080043 <Logger name="org.apache.hyracks.util.trace.Tracer.Traces" level="TRACER" additivity="false">
44 <AppenderRef ref="TracerLog"/>
Ian Maxon7b073682018-12-16 18:46:03 -080045 </Logger>
Murtadha Hubailaf4018d2017-12-15 17:56:38 +030046 </Loggers>
47</Configuration>