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