diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-03-31 09:01:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-31 09:01:45 -0500 |
commit | adadbf656c7b791bee364633ef8706f5e94421f7 (patch) | |
tree | 5bb3a14a05802573f718761c6c34eb52f495e7fb /roles/openshift_logging/templates | |
parent | 4ebf81f1d1b3a1277c1f3cae784882edbe183fe5 (diff) | |
parent | a222702ed4316f99eac497ac755c5349804c66d2 (diff) | |
download | openshift-adadbf656c7b791bee364633ef8706f5e94421f7.tar.gz openshift-adadbf656c7b791bee364633ef8706f5e94421f7.tar.bz2 openshift-adadbf656c7b791bee364633ef8706f5e94421f7.tar.xz openshift-adadbf656c7b791bee364633ef8706f5e94421f7.zip |
Merge pull request #3777 from jcantrill/es_logging
Merged by openshift-bot
Diffstat (limited to 'roles/openshift_logging/templates')
-rw-r--r-- | roles/openshift_logging/templates/elasticsearch-logging.yml.j2 | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/roles/openshift_logging/templates/elasticsearch-logging.yml.j2 b/roles/openshift_logging/templates/elasticsearch-logging.yml.j2 new file mode 100644 index 000000000..499e77fb7 --- /dev/null +++ b/roles/openshift_logging/templates/elasticsearch-logging.yml.j2 @@ -0,0 +1,81 @@ +# you can override this using by setting a system property, for example -Des.logger.level=DEBUG +es.logger.level: INFO +rootLogger: ${es.logger.level}, {{root_logger}} +logger: + # log action execution errors for easier debugging + action: WARN + + # deprecation logging, turn to DEBUG to see them + deprecation: WARN, deprecation_log_file + + # reduce the logging for aws, too much is logged under the default INFO + com.amazonaws: WARN + + io.fabric8.elasticsearch: ${PLUGIN_LOGLEVEL} + io.fabric8.kubernetes: ${PLUGIN_LOGLEVEL} + + # aws will try to do some sketchy JMX stuff, but its not needed. + com.amazonaws.jmx.SdkMBeanRegistrySupport: ERROR + com.amazonaws.metrics.AwsSdkMetrics: ERROR + + org.apache.http: INFO + + # gateway + #gateway: DEBUG + #index.gateway: DEBUG + + # peer shard recovery + #indices.recovery: DEBUG + + # discovery + #discovery: TRACE + + index.search.slowlog: TRACE, index_search_slow_log_file + index.indexing.slowlog: TRACE, index_indexing_slow_log_file + + # search-guard + com.floragunn.searchguard: WARN + +additivity: + index.search.slowlog: false + index.indexing.slowlog: false + deprecation: false + +appender: + console: + type: console + layout: + type: consolePattern + conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %.10000m%n" + + file: + type: dailyRollingFile + file: ${path.logs}/${cluster.name}.log + datePattern: "'.'yyyy-MM-dd" + layout: + type: pattern + conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n" + + deprecation_log_file: + type: dailyRollingFile + file: ${path.logs}/${cluster.name}_deprecation.log + datePattern: "'.'yyyy-MM-dd" + layout: + type: pattern + conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n" + + index_search_slow_log_file: + type: dailyRollingFile + file: ${path.logs}/${cluster.name}_index_search_slowlog.log + datePattern: "'.'yyyy-MM-dd" + layout: + type: pattern + conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n" + + index_indexing_slow_log_file: + type: dailyRollingFile + file: ${path.logs}/${cluster.name}_index_indexing_slowlog.log + datePattern: "'.'yyyy-MM-dd" + layout: + type: pattern + conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n" |