]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/elasticsearch/templates/etc/elasticsearch/logging.yml.erb
Add new module elasticsearch for listsearch
[dsa-puppet.git] / 3rdparty / modules / elasticsearch / templates / etc / elasticsearch / logging.yml.erb
1 # This file is managed by Puppet, do not edit manually, your changes *will* be overwritten!
2 #
3 # Please see the source file for context and more information:
4 #
5 # https://github.com/elasticsearch/elasticsearch/blob/master/config/logging.yml
6 #
7
8 es.logger.level: <%= @logging_level %>
9 rootLogger: <%= @logging_level %>, console, file
10
11 # ----- Configuration set by Puppet ---------------------------------------------
12
13 <% @logging_hash.sort.each do |key,value| %>
14 logger.<%= key %>: <%= value %>
15 <% end %>
16
17 # -------------------------------------------------------------------------------
18
19 additivity:
20   index.search.slowlog: false
21   index.indexing.slowlog: false
22
23 appender:
24   console:
25     type: console
26     layout:
27       type: consolePattern
28       conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
29
30   file:
31     type: dailyRollingFile
32     file: ${path.logs}/${cluster.name}.log
33     datePattern: "'.'yyyy-MM-dd"
34     layout:
35       type: pattern
36       conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
37
38   index_search_slow_log_file:
39     type: dailyRollingFile
40     file: ${path.logs}/${cluster.name}_index_search_slowlog.log
41     datePattern: "'.'yyyy-MM-dd"
42     layout:
43       type: pattern
44       conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
45
46   index_indexing_slow_log_file:
47     type: dailyRollingFile
48     file: ${path.logs}/${cluster.name}_index_indexing_slowlog.log
49     datePattern: "'.'yyyy-MM-dd"
50     layout:
51       type: pattern
52       conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"