apache-ignite

Форк
0
/
log4j-tc-test.xml 
75 строк · 2.7 Кб
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

21
<!--
22
    Log4j2 configuration.
23
-->
24
<Configuration>
25
    <Appenders>
26
        <Console name="CONSOLE" target="SYSTEM_OUT">
27
            <PatternLayout pattern="[%d{ISO8601}][%-5p][%t][%c{1}] %m%n"/>
28
            <LevelRangeFilter minLevel="INFO" maxLevel="DEBUG"/>
29
        </Console>
30

31
        <Console name="CONSOLE_ERR" target="SYSTEM_ERR">
32
            <PatternLayout pattern="[%d{ISO8601}][%-5p][%t][%c{1}] %m%n"/>
33
        </Console>
34

35
        <RollingFile name="FILE"
36
                     fileName="${sys:IGNITE_HOME}/work/log/ignite.log"
37
                     filePattern="${sys:IGNITE_HOME}/work/log/ignite.log.%i"
38
                     append="true">
39
            <PatternLayout pattern="[%d{ISO8601}][%-5p][%t][%c{1}] %m%n"/>
40
            <Policies>
41
                <SizeBasedTriggeringPolicy size="10 MB"/>
42
            </Policies>
43
            <DefaultRolloverStrategy max="10"/>
44
        </RollingFile>
45
    </Appenders>
46

47
    <Loggers>
48
        <Logger name="org.apache.ignite.internal.diagnostic" level="INFO">
49
            <AppenderRef ref="CONSOLE" level="INFO"/>
50
        </Logger>
51

52
        <!--
53
            Uncomment to enable Ignite query execution debugging.
54
        -->
55
        <!--
56
            <Logger name="org.apache.ignite.internal.processors.query" level="DEBUG"/>
57
        -->
58

59
        <!--
60
            Uncomment to enable Exchange, Rebalance and Partitions workflow debugging.
61
        -->
62
        <!--
63
            <Logger name="org.apache.ignite.internal.processors.cache.distributed.dht.preloader" level="DEBUG"/>
64
            <Logger name="org.apache.ignite.internal.processors.cache.distributed.dht.topology" level="DEBUG"/>
65
        -->
66

67
        <Logger name="org" level="INFO"/>
68
        <Logger name="org.eclipse.jetty" level="INFO"/>
69

70
        <Root level="INFO">
71
            <AppenderRef ref="FILE" level="DEBUG"/>
72
            <AppenderRef ref="CONSOLE_ERR" level="WARN"/>
73
        </Root>
74
    </Loggers>
75
</Configuration>
76

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

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

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

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