Merge remote-tracking branch 'refs/remotes/dakrone/truncate-loglines'
This commit is contained in:
commit
459a05168c
|
@ -38,7 +38,7 @@ appender:
|
||||||
datePattern: "'.'yyyy-MM-dd"
|
datePattern: "'.'yyyy-MM-dd"
|
||||||
layout:
|
layout:
|
||||||
type: pattern
|
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.
|
# 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
|
# For more information see https://logging.apache.org/log4j/extras/apidocs/org/apache/log4j/rolling/RollingFileAppender.html
|
||||||
|
|
|
@ -508,3 +508,8 @@ Settings settings = ImmutableSettings.settingsBuilder()
|
||||||
.put("cluster.name", "myClusterName").build();
|
.put("cluster.name", "myClusterName").build();
|
||||||
Client client = TransportClient.builder().settings(settings).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.
|
||||||
|
|
Loading…
Reference in New Issue