summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/files
diff options
context:
space:
mode:
authorJeff Cantrill <jcantril@redhat.com>2017-03-27 15:10:25 -0400
committerJeff Cantrill <jcantril@redhat.com>2017-03-30 12:36:53 -0400
commita222702ed4316f99eac497ac755c5349804c66d2 (patch)
tree2a6beb2e5947f90875d1d654d9d213dc3c22f6b5 /roles/openshift_logging/files
parentf0cdf051ef01978269482a72ae074b822daeea3b (diff)
downloadopenshift-a222702ed4316f99eac497ac755c5349804c66d2.tar.gz
openshift-a222702ed4316f99eac497ac755c5349804c66d2.tar.bz2
openshift-a222702ed4316f99eac497ac755c5349804c66d2.tar.xz
openshift-a222702ed4316f99eac497ac755c5349804c66d2.zip
bug 1432607. Allow configuration of ES log destination
Diffstat (limited to 'roles/openshift_logging/files')
-rw-r--r--roles/openshift_logging/files/elasticsearch-logging.yml72
1 files changed, 0 insertions, 72 deletions
diff --git a/roles/openshift_logging/files/elasticsearch-logging.yml b/roles/openshift_logging/files/elasticsearch-logging.yml
deleted file mode 100644
index 377abe21f..000000000
--- a/roles/openshift_logging/files/elasticsearch-logging.yml
+++ /dev/null
@@ -1,72 +0,0 @@
-# you can override this using by setting a system property, for example -Des.logger.level=DEBUG
-es.logger.level: INFO
-rootLogger: ${es.logger.level}, console, file
-logger:
- # log action execution errors for easier debugging
- action: WARN
- # 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}
-
- # 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
-
-appender:
- console:
- type: console
- layout:
- type: consolePattern
- conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
-
- file:
- type: dailyRollingFile
- file: ${path.logs}/${cluster.name}.log
- datePattern: "'.'yyyy-MM-dd"
- layout:
- type: pattern
- conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
-
- # Use the following log4j-extras RollingFileAppender to enable gzip compression of log files.
- # For more information see https://logging.apache.org/log4j/extras/apidocs/org/apache/log4j/rolling/RollingFileAppender.html
- #file:
- #type: extrasRollingFile
- #file: ${path.logs}/${cluster.name}.log
- #rollingPolicy: timeBased
- #rollingPolicy.FileNamePattern: ${path.logs}/${cluster.name}.log.%d{yyyy-MM-dd}.gz
- #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"