Merge remote-tracking branch 'refs/remotes/dakrone/truncate-loglines'

This commit is contained in:
Lee Hinman 2015-05-08 10:11:26 -06:00
commit 459a05168c
2 changed files with 6 additions and 1 deletions

View File

@ -38,7 +38,7 @@ appender:
datePattern: "'.'yyyy-MM-dd"
layout:
type: pattern
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %.10000m%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

View File

@ -508,3 +508,8 @@ Settings settings = ImmutableSettings.settingsBuilder()
.put("cluster.name", "myClusterName").build();
Client client = TransportClient.builder().settings(settings).build();
--------------------------------------------------
=== Logging
Log messages are now truncated at 10,000 characters. This can be changed in the
`logging.yml` configuration file.