apache-ignite
1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--
4Licensed to the Apache Software Foundation (ASF) under one or more
5contributor license agreements. See the NOTICE file distributed with
6this work for additional information regarding copyright ownership.
7The ASF licenses this file to You under the Apache License, Version 2.0
8(the "License"); you may not use this file except in compliance with
9the License. You may obtain a copy of the License at
10
11http://www.apache.org/licenses/LICENSE-2.0
12
13Unless required by applicable law or agreed to in writing, software
14distributed under the License is distributed on an "AS IS" BASIS,
15WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16See the License for the specific language governing permissions and
17limitations under the License.
18-->
19
20<Configuration>21<Properties>22<!-- Set the `IGNITE_NO_LOG_COLOR` environment variable to completely disable colors in the console output. -->23<Property name="disableAnsi">${sys:IGNITE_NO_LOG_COLOR:-false}</Property>24</Properties>25
26<Appenders>27<Console name="CONSOLE" target="SYSTEM_OUT">28<PatternLayout29pattern="[%d{ISO8601}]%highlight{[%-5p]}{INFO=green, DEBUG=green bold, TRACE=blue}%style{[%t]}{magenta}%style{[%c{1}]}{cyan}%notEmpty{[%markerSimpleName]} %m%n"30disableAnsi="${disableAnsi}"/>31<LevelRangeFilter minLevel="INFO" maxLevel="DEBUG"/>32</Console>33
34<Console name="CONSOLE_ERR" target="SYSTEM_ERR">35<PatternLayout36pattern="%highlight{[%d{ISO8601}][%-5p][%t][%c{1}] %m%n}{FATAL=red blink, ERROR=default, WARN=yellow bold}"37disableAnsi="${disableAnsi}"/>38</Console>39
40<RollingFile name="FILE"41append="true"42fileName="${sys:IGNITE_HOME}/work/log/ignite.log"43filePattern="${sys:IGNITE_HOME}/work/log/ignite.log.%i">44<PatternLayout pattern="[%d{ISO8601}][%-5p][%t][%c{1}]%notEmpty{[%markerSimpleName]} %m%n"/>45<Policies>46<SizeBasedTriggeringPolicy size="10 MB"/>47</Policies>48<DefaultRolloverStrategy max="10"/>49</RollingFile>50</Appenders>51
52<Loggers>53<!--54Uncomment to enable Ignite query execution debugging.
55-->
56<!--57<Logger name="org.apache.ignite.internal.processors.query" level="DEBUG"/>
58-->
59
60<!--61Uncomment to enable Exchange, Rebalance and Partitions workflow debugging.
62-->
63<!--64<Logger name="org.apache.ignite.internal.processors.cache.distributed.dht.preloader" level="DEBUG"/>
65<Logger name="org.apache.ignite.internal.processors.cache.distributed.dht.topology" level="DEBUG"/>
66-->
67
68<!--69Uncomment to enable debugging of partition counters.
70-->
71<!--72<Logger name="org.apache.ignite.internal.processors.cache.PartitionUpdateCounterDebugWrapper" level="DEBUG"/>
73-->
74
75<!--76Uncomment to enable transactions debugging.
77-->
78<!--79<Logger name="org.apache.ignite.cache.msg.tx.prepare" level="DEBUG"/>
80<Logger name="org.apache.ignite.cache.msg.tx.finish" level="DEBUG"/>
81<Logger name="org.apache.ignite.cache.msg.tx.recovery" level="DEBUG"/>
82-->
83
84<!--85Uncomment to enable debugging of partition eviction.
86-->
87<!--88<Logger name="org.apache.ignite.internal.processors.cache.distributed.dht.topology.PartitionsEvictManager" level="DEBUG"/>
89-->
90<Logger name="org" level="INFO"/>91<Logger name="org.eclipse.jetty" level="INFO"/>92
93<Root level="INFO">94<!--95Uncomment to enable log output to file.
96-->
97<!--98<AppenderRef ref="FILE" level="DEBUG"/>
99-->
100<AppenderRef ref="CONSOLE" level="DEBUG"/>101<AppenderRef ref="CONSOLE_ERR" level="WARN"/>102</Root>103</Loggers>104</Configuration>105