Apache Solr open-source search software
SOLR-18133: Remove exc shortening, pt 2
Jason Gerlowski4120c70e4f97
diff --git a/solr/benchmark/log4j2-bench.xml b/solr/benchmark/log4j2-bench.xmlindex c3b81a84ca5..6b0cdf40c21 100644--- a/solr/benchmark/log4j2-bench.xml+++ b/solr/benchmark/log4j2-bench.xml@@ -24,7 +24,7 @@<PatternLayout><Pattern>%maxLen{%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p (%t) [%notEmpty{c:%X{collection}}%notEmpty{ s:%X{shard}}%notEmpty{ r:%X{replica}}%notEmpty{ x:%X{core}}] %c{1.}- %m%notEmpty{ =>%ex{short}}}{10240}%n+ %m}{10240}%n</Pattern></PatternLayout></Console>@@ -36,7 +36,7 @@<PatternLayout><Pattern>%maxLen{%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p (%t) [%notEmpty{c:%X{collection}}%notEmpty{ s:%X{shard}}%notEmpty{ r:%X{replica}}%notEmpty{ x:%X{core}}] %c{1.}- %m%notEmpty{ =>%ex{short}}}{10240}%n+ %m}{10240}%n</Pattern></PatternLayout><Policies>@@ -53,7 +53,7 @@<PatternLayout><Pattern>%maxLen{%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p (%t) [%notEmpty{c:%X{collection}}%notEmpty{ s:%X{shard}}%notEmpty{ r:%X{replica}}%notEmpty{ x:%X{core}}] %c{1.}- %m%notEmpty{ =>%ex{short}}}{10240}%n+ %m}{10240}%n</Pattern></PatternLayout><Policies>@@ -71,7 +71,7 @@<PatternLayout><Pattern>%maxLen{%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p (%t) [%notEmpty{c:%X{collection}}%notEmpty{ s:%X{shard}}%notEmpty{ r:%X{replica}}%notEmpty{ x:%X{core}}] %c{1.}- %m%notEmpty{ =>%ex{short}}}{10240}%n+ %m}{10240}%n</Pattern></PatternLayout><Policies>diff --git a/solr/docker/tests/cases/log4j2_migration/log4j2_old.xml b/solr/docker/tests/cases/log4j2_migration/log4j2_old.xmlindex 3d4626c15ad..fb14cb86d44 100644--- a/solr/docker/tests/cases/log4j2_migration/log4j2_old.xml+++ b/solr/docker/tests/cases/log4j2_migration/log4j2_old.xml@@ -23,7 +23,7 @@<Console name="STDOUT" target="SYSTEM_OUT"><PatternLayout><Pattern>- %maxLen{%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p (%t) [%notEmpty{c:%X{collection}}%notEmpty{ s:%X{shard}}%notEmpty{ r:%X{replica}}%notEmpty{ x:%X{core}}%notEmpty{ t:%X{trace_id}}] %c{1.} %m%notEmpty{ =>%ex{short}}}{10240}%n+ %maxLen{%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p (%t) [%notEmpty{c:%X{collection}}%notEmpty{ s:%X{shard}}%notEmpty{ r:%X{replica}}%notEmpty{ x:%X{core}}%notEmpty{ t:%X{trace_id}}] %c{1.} %m}{10240}%n</Pattern></PatternLayout></Console>@@ -34,7 +34,7 @@filePattern="${sys:solr.log.dir}/solr.log.%i" ><PatternLayout><Pattern>- %maxLen{%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p (%t) [%notEmpty{c:%X{collection}}%notEmpty{ s:%X{shard}}%notEmpty{ r:%X{replica}}%notEmpty{ x:%X{core}}%notEmpty{ t:%X{trace_id}}] %c{1.} %m%notEmpty{ =>%ex{short}}}{10240}%n+ %maxLen{%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p (%t) [%notEmpty{c:%X{collection}}%notEmpty{ s:%X{shard}}%notEmpty{ r:%X{replica}}%notEmpty{ x:%X{core}}%notEmpty{ t:%X{trace_id}}] %c{1.} %m}{10240}%n</Pattern></PatternLayout><Policies>@@ -50,7 +50,7 @@filePattern="${sys:solr.log.dir}/solr_slow_requests.log.%i" ><PatternLayout><Pattern>- %maxLen{%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p (%t) [%notEmpty{c:%X{collection}}%notEmpty{ s:%X{shard}}%notEmpty{ r:%X{replica}}%notEmpty{ x:%X{core}}%notEmpty{ t:%X{trace_id}}] %c{1.} %m%notEmpty{ =>%ex{short}}}{10240}%n+ %maxLen{%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p (%t) [%notEmpty{c:%X{collection}}%notEmpty{ s:%X{shard}}%notEmpty{ r:%X{replica}}%notEmpty{ x:%X{core}}%notEmpty{ t:%X{trace_id}}] %c{1.} %m}{10240}%n</Pattern></PatternLayout><Policies>diff --git a/solr/server/resources/log4j2-console.xml b/solr/server/resources/log4j2-console.xmlindex 45e04416d8c..6f0657f7f6d 100644--- a/solr/server/resources/log4j2-console.xml+++ b/solr/server/resources/log4j2-console.xml@@ -24,7 +24,7 @@<Console name="STDERR" target="SYSTEM_ERR"><PatternLayout><Pattern>- %maxLen{%-5p - %d{yyyy-MM-dd HH:mm:ss.SSS}; %c; %m%notEmpty{ =>%ex{short}}}{10240}%n+ %maxLen{%-5p - %d{yyyy-MM-dd HH:mm:ss.SSS}; %c; %m}{10240}%n</Pattern></PatternLayout></Console>