apache-ignite

Форк
0
104 строки · 4.1 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2

3
<!--
4
  Licensed to the Apache Software Foundation (ASF) under one or more
5
  contributor license agreements.  See the NOTICE file distributed with
6
  this work for additional information regarding copyright ownership.
7
  The 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
9
  the License.  You may obtain a copy of the License at
10

11
       http://www.apache.org/licenses/LICENSE-2.0
12

13
  Unless required by applicable law or agreed to in writing, software
14
  distributed under the License is distributed on an "AS IS" BASIS,
15
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
  See the License for the specific language governing permissions and
17
  limitations 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
            <PatternLayout
29
                pattern="[%d{ISO8601}]%highlight{[%-5p]}{INFO=green, DEBUG=green bold, TRACE=blue}%style{[%t]}{magenta}%style{[%c{1}]}{cyan}%notEmpty{[%markerSimpleName]} %m%n"
30
                disableAnsi="${disableAnsi}"/>
31
            <LevelRangeFilter minLevel="INFO" maxLevel="DEBUG"/>
32
        </Console>
33

34
        <Console name="CONSOLE_ERR" target="SYSTEM_ERR">
35
            <PatternLayout
36
                pattern="%highlight{[%d{ISO8601}][%-5p][%t][%c{1}] %m%n}{FATAL=red blink, ERROR=default, WARN=yellow bold}"
37
                disableAnsi="${disableAnsi}"/>
38
        </Console>
39

40
        <RollingFile name="FILE"
41
                     append="true"
42
                     fileName="${sys:IGNITE_HOME}/work/log/ignite.log"
43
                     filePattern="${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
        <!--
54
            Uncomment to enable Ignite query execution debugging.
55
        -->
56
        <!--
57
            <Logger name="org.apache.ignite.internal.processors.query" level="DEBUG"/>
58
        -->
59

60
        <!--
61
            Uncomment 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
        <!--
69
            Uncomment to enable debugging of partition counters.
70
        -->
71
        <!--
72
            <Logger name="org.apache.ignite.internal.processors.cache.PartitionUpdateCounterDebugWrapper" level="DEBUG"/>
73
        -->
74

75
        <!--
76
            Uncomment 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
        <!--
85
            Uncomment 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
            <!--
95
                Uncomment 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

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.