|
|
|
@ -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}" |
|
|
|
|