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