Sylvain Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame^] | 1 | {{/* |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 2 | # 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 Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame^] | 15 | */}} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 16 | |
| 17 | status = error |
| 18 | |
| 19 | # log action execution errors for easier debugging |
| 20 | logger.action.name = org.elasticsearch.action |
| 21 | logger.action.level = INFO |
| 22 | |
| 23 | appender.console.type = Console |
| 24 | appender.console.name = console |
| 25 | appender.console.layout.type = PatternLayout |
| 26 | appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n |
| 27 | |
| 28 | appender.rolling.type = RollingFile |
| 29 | appender.rolling.name = rolling |
| 30 | appender.rolling.fileName = ${sys:es.logs.base_path}.log |
| 31 | appender.rolling.layout.type = PatternLayout |
| 32 | appender.rolling.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %marker%.10000m%n |
| 33 | appender.rolling.filePattern = ${sys:es.logs.base_path}-%d{yyyy-MM-dd}.log |
| 34 | appender.rolling.policies.type = Policies |
| 35 | appender.rolling.policies.time.type = TimeBasedTriggeringPolicy |
| 36 | appender.rolling.policies.time.interval = 1 |
| 37 | appender.rolling.policies.time.modulate = true |
| 38 | |
| 39 | rootLogger.level = info |
| 40 | rootLogger.appenderRef.console.ref = console |
| 41 | rootLogger.appenderRef.rolling.ref = rolling |
| 42 | |
Sylvain Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame^] | 43 | {{/* |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 44 | # 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 Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame^] | 55 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 56 | # 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 Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame^] | 60 | */}} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 61 | appender.index_search_slowlog_rolling.type = RollingFile |
| 62 | appender.index_search_slowlog_rolling.name = index_search_slowlog_rolling |
| 63 | appender.index_search_slowlog_rolling.fileName = ${sys:es.logs.base_path}_index_search_slowlog.log |
| 64 | appender.index_search_slowlog_rolling.layout.type = PatternLayout |
| 65 | appender.index_search_slowlog_rolling.layout.pattern = [%d{ISO8601}][%-5p][%-25c] %marker%.10000m%n |
| 66 | appender.index_search_slowlog_rolling.filePattern = ${sys:es.logs.base_path}_index_search_slowlog-%d{yyyy-MM-dd}.log |
| 67 | appender.index_search_slowlog_rolling.policies.type = Policies |
| 68 | appender.index_search_slowlog_rolling.policies.time.type = TimeBasedTriggeringPolicy |
| 69 | appender.index_search_slowlog_rolling.policies.time.interval = 1 |
| 70 | appender.index_search_slowlog_rolling.policies.time.modulate = true |
| 71 | |
| 72 | logger.index_search_slowlog_rolling.name = index.search.slowlog |
| 73 | logger.index_search_slowlog_rolling.level = trace |
| 74 | logger.index_search_slowlog_rolling.appenderRef.index_search_slowlog_rolling.ref = index_search_slowlog_rolling |
| 75 | logger.index_search_slowlog_rolling.additivity = false |
| 76 | |
| 77 | appender.index_indexing_slowlog_rolling.type = RollingFile |
| 78 | appender.index_indexing_slowlog_rolling.name = index_indexing_slowlog_rolling |
| 79 | appender.index_indexing_slowlog_rolling.fileName = ${sys:es.logs.base_path}_index_indexing_slowlog.log |
| 80 | appender.index_indexing_slowlog_rolling.layout.type = PatternLayout |
| 81 | appender.index_indexing_slowlog_rolling.layout.pattern = [%d{ISO8601}][%-5p][%-25c] %marker%.10000m%n |
| 82 | appender.index_indexing_slowlog_rolling.filePattern = ${sys:es.logs.base_path}_index_indexing_slowlog-%d{yyyy-MM-dd}.log |
| 83 | appender.index_indexing_slowlog_rolling.policies.type = Policies |
| 84 | appender.index_indexing_slowlog_rolling.policies.time.type = TimeBasedTriggeringPolicy |
| 85 | appender.index_indexing_slowlog_rolling.policies.time.interval = 1 |
| 86 | appender.index_indexing_slowlog_rolling.policies.time.modulate = true |
| 87 | |
| 88 | logger.index_indexing_slowlog.name = index.indexing.slowlog.index |
| 89 | logger.index_indexing_slowlog.level = trace |
| 90 | logger.index_indexing_slowlog.appenderRef.index_indexing_slowlog_rolling.ref = index_indexing_slowlog_rolling |
| 91 | logger.index_indexing_slowlog.additivity = false |