Revert Console appender changes since they are managed programmatically (#5593)

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
pull/5601/head
Fabio Di Fabio 1 year ago committed by GitHub
parent c0e5a0daa1
commit ddacdc37c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      besu/src/main/resources/log4j2.xml

@ -13,21 +13,11 @@
<Property name="splunk.batch_size_count">${env:SPLUNK_BATCH_SIZE_COUNT:-1000}</Property>
<Property name="splunk.batch_interval">${env:SPLUNK_BATCH_INTERVAL:-500}</Property>
<Property name="splunk.disableCertificateValidation">${env:SPLUNK_SKIPTLSVERIFY:-false}</Property>
<Property name="console.pattern">%d{yyyy-MM-dd HH:mm:ss.SSSZZZ} | %t | %-5level | %c{1} | %msg</Property>
<Property name="console.msgdata.maxlen">1000</Property>
</Properties>
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout alwaysWriteExceptions="false">
<MarkerPatternSelector defaultPattern="${console.pattern}%n">
<PatternMatch key="P2PMSG" pattern="${console.pattern} rawData=%maxLen{%X{rawData}}{${console.msgdata.maxlen}} decodedData=%maxLen{%X{decodedData}}{${console.msgdata.maxlen}}%n"/>
</MarkerPatternSelector>
</PatternLayout>
</Console>
<Routing name="Router">
<Routes pattern="$${sys:root.log.logger}">
<Route ref="Console" key="Console"/>
<Route key="Splunk">
<SplunkHttp name="Splunk"
url="${sys:splunk.url}"

Loading…
Cancel
Save