blob: e674865221851eebaf3001c0fee6922395cb3ca2 [file] [log] [blame]
Edwin Lawrance0d4b4b52018-08-02 15:57:13 +01001# Copyright © 2018 Amdocs, AT&T, Bell Canada
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15status = error
16
17# log action execution errors for easier debugging
18logger.action.name = org.elasticsearch.action
19logger.action.level = INFO
20
21appender.console.type = Console
22appender.console.name = console
23appender.console.layout.type = PatternLayout
24appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n
25
26appender.rolling.type = RollingFile
27appender.rolling.name = rolling
28appender.rolling.fileName = ${sys:es.logs.base_path}.log
29appender.rolling.layout.type = PatternLayout
30appender.rolling.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %marker%.10000m%n
31appender.rolling.filePattern = ${sys:es.logs.base_path}-%d{yyyy-MM-dd}.log
32appender.rolling.policies.type = Policies
33appender.rolling.policies.time.type = TimeBasedTriggeringPolicy
34appender.rolling.policies.time.interval = 1
35appender.rolling.policies.time.modulate = true
36
37rootLogger.level = info
38rootLogger.appenderRef.console.ref = console
39rootLogger.appenderRef.rolling.ref = rolling
40
41# appender.deprecation_rolling.type = RollingFile
42# appender.deprecation_rolling.name = deprecation_rolling
43# appender.deprecation_rolling.fileName = ${sys:es.logs.base_path}_deprecation.log
44# appender.deprecation_rolling.layout.type = PatternLayout
45# appender.deprecation_rolling.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %marker%.10000m%n
46# appender.deprecation_rolling.filePattern = ${sys:es.logs.base_path}_deprecation-%i.log.gz
47# appender.deprecation_rolling.policies.type = Policies
48# appender.deprecation_rolling.policies.size.type = SizeBasedTriggeringPolicy
49# appender.deprecation_rolling.policies.size.size = 1GB
50# appender.deprecation_rolling.strategy.type = DefaultRolloverStrategy
51# appender.deprecation_rolling.strategy.max = 4
52
53# logger.deprecation.name = org.elasticsearch.deprecation
54# logger.deprecation.level = warn
55# logger.deprecation.appenderRef.deprecation_rolling.ref = deprecation_rolling
56# logger.deprecation.additivity = false
57
58appender.index_search_slowlog_rolling.type = RollingFile
59appender.index_search_slowlog_rolling.name = index_search_slowlog_rolling
60appender.index_search_slowlog_rolling.fileName = ${sys:es.logs.base_path}_index_search_slowlog.log
61appender.index_search_slowlog_rolling.layout.type = PatternLayout
62appender.index_search_slowlog_rolling.layout.pattern = [%d{ISO8601}][%-5p][%-25c] %marker%.10000m%n
63appender.index_search_slowlog_rolling.filePattern = ${sys:es.logs.base_path}_index_search_slowlog-%d{yyyy-MM-dd}.log
64appender.index_search_slowlog_rolling.policies.type = Policies
65appender.index_search_slowlog_rolling.policies.time.type = TimeBasedTriggeringPolicy
66appender.index_search_slowlog_rolling.policies.time.interval = 1
67appender.index_search_slowlog_rolling.policies.time.modulate = true
68
69logger.index_search_slowlog_rolling.name = index.search.slowlog
70logger.index_search_slowlog_rolling.level = trace
71logger.index_search_slowlog_rolling.appenderRef.index_search_slowlog_rolling.ref = index_search_slowlog_rolling
72logger.index_search_slowlog_rolling.additivity = false
73
74appender.index_indexing_slowlog_rolling.type = RollingFile
75appender.index_indexing_slowlog_rolling.name = index_indexing_slowlog_rolling
76appender.index_indexing_slowlog_rolling.fileName = ${sys:es.logs.base_path}_index_indexing_slowlog.log
77appender.index_indexing_slowlog_rolling.layout.type = PatternLayout
78appender.index_indexing_slowlog_rolling.layout.pattern = [%d{ISO8601}][%-5p][%-25c] %marker%.10000m%n
79appender.index_indexing_slowlog_rolling.filePattern = ${sys:es.logs.base_path}_index_indexing_slowlog-%d{yyyy-MM-dd}.log
80appender.index_indexing_slowlog_rolling.policies.type = Policies
81appender.index_indexing_slowlog_rolling.policies.time.type = TimeBasedTriggeringPolicy
82appender.index_indexing_slowlog_rolling.policies.time.interval = 1
83appender.index_indexing_slowlog_rolling.policies.time.modulate = true
84
85logger.index_indexing_slowlog.name = index.indexing.slowlog.index
86logger.index_indexing_slowlog.level = trace
87logger.index_indexing_slowlog.appenderRef.index_indexing_slowlog_rolling.ref = index_indexing_slowlog_rolling
88logger.index_indexing_slowlog.additivity = false