Skip to content

Commit 2efb7cd

Browse files
authored
Upgrade ECS logging layout (elastic#138854) (elastic#138911)
This commit upgrades the log4j ECS layout to 1.7.0.
1 parent f85b251 commit 2efb7cd

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

build-tools-internal/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ icu4j = 77.1
1212
supercsv = 2.4.0
1313
log4j = 2.19.0
1414
slf4j = 2.0.6
15-
ecsLogging = 1.2.0
15+
ecsLogging = 1.7.0
1616
jna = 5.12.1
1717
netty = 4.1.126.Final
1818
commons_lang3 = 3.9

docs/changelog/138854.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 138854
2+
summary: Upgrade ECS logging layout
3+
area: Infra/Logging
4+
type: upgrade
5+
issues: []

gradle/verification-metadata.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@
8282
<sha256 value="a4f3ae98e180dd5138cc8c719889366fe7d3afcecdb618da6db0b144a1717ac8" origin="Generated by Gradle"/>
8383
</artifact>
8484
</component>
85-
<component group="co.elastic.logging" name="ecs-logging-core" version="1.2.0">
86-
<artifact name="ecs-logging-core-1.2.0.jar">
87-
<sha256 value="0d6318af29848ea588b1c244834e3e762315c68de2bcfc9f1adf3f0633d22d37" origin="Generated by Gradle"/>
85+
<component group="co.elastic.logging" name="ecs-logging-core" version="1.7.0">
86+
<artifact name="ecs-logging-core-1.7.0.jar">
87+
<sha256 value="6431b4461025605ea26d8de2f8133a6178483522d0b9195f6445b693b524690b" origin="Generated by Gradle"/>
8888
</artifact>
8989
</component>
90-
<component group="co.elastic.logging" name="log4j2-ecs-layout" version="1.2.0">
91-
<artifact name="log4j2-ecs-layout-1.2.0.jar">
92-
<sha256 value="395eebdbfaae281244b2da7f369654d6ca79c4be70acfff87e6638c07f89a0be" origin="Generated by Gradle"/>
90+
<component group="co.elastic.logging" name="log4j2-ecs-layout" version="1.7.0">
91+
<artifact name="log4j2-ecs-layout-1.7.0.jar">
92+
<sha256 value="ba6f338e8c02f56a7296bf669f4748f6a0506b6074452a59690da204d8f535e0" origin="Generated by Gradle"/>
9393
</artifact>
9494
</component>
9595
<component group="com.avast.gradle" name="gradle-docker-compose-plugin" version="0.17.5">

server/src/main/java/org/elasticsearch/common/logging/DeprecatedMessage.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ public class DeprecatedMessage {
2323
public static final String ELASTIC_ORIGIN_FIELD_NAME = "elasticsearch.elastic_product_origin";
2424
public static final String KEY_FIELD_NAME = "event.code";
2525
public static final String X_OPAQUE_ID_FIELD_NAME = "elasticsearch.http.request.x_opaque_id";
26-
public static final String ECS_VERSION = "1.2.0";
2726

2827
@SuppressLoggerChecks(reason = "safely delegates to logger")
2928
public static ESLogMessage of(

0 commit comments

Comments
 (0)