Skip to content

Commit dae4b15

Browse files
Bump org.apache.logging.log4j:log4j-bom from 2.24.3 to 2.25.1 (#6004)
* Bump org.apache.logging.log4j:log4j-bom from 2.24.3 to 2.25.1 Bumps [org.apache.logging.log4j:log4j-bom](https://github.com/apache/logging-log4j2) from 2.24.3 to 2.25.1. - [Release notes](https://github.com/apache/logging-log4j2/releases) - [Changelog](https://github.com/apache/logging-log4j2/blob/2.x/RELEASE-NOTES.adoc) - [Commits](apache/logging-log4j2@rel/2.24.3...rel/2.25.1) --- updated-dependencies: - dependency-name: org.apache.logging.log4j:log4j-bom dependency-version: 2.25.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fix broken unit tests Now StatusLogger writes to stderr by default: apache/logging-log4j2#3666 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Valery Yatsynovich <[email protected]>
1 parent 086286f commit dae4b15

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

vividus-mcp-server/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies {
66

77
implementation(group: 'io.modelcontextprotocol.sdk', name: 'mcp', version: '0.11.2')
88

9-
implementation platform(group: 'org.apache.logging.log4j', name: 'log4j-bom', version: '2.24.3')
9+
implementation platform(group: 'org.apache.logging.log4j', name: 'log4j-bom', version: '2.25.1')
1010
implementation(group: 'org.apache.logging.log4j', name: 'log4j-core')
1111

1212
testImplementation platform(group: 'org.junit', name: 'junit-bom', version: '5.13.4')

vividus/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ dependencies {
6565
implementation(group: 'org.slf4j', name: 'jul-to-slf4j') // JUL to SLF4J bridge
6666
implementation(group: 'org.slf4j', name: 'log4j-over-slf4j') // Log4J 1.x and Reload4J to SLF4J bridge
6767

68-
implementation platform(group: 'org.apache.logging.log4j', name: 'log4j-bom', version: '2.24.3')
68+
implementation platform(group: 'org.apache.logging.log4j', name: 'log4j-bom', version: '2.25.1')
6969
implementation(group: 'org.apache.logging.log4j', name: 'log4j-api')
7070
implementation(group: 'org.apache.logging.log4j', name: 'log4j-core')
7171
implementation(group: 'org.apache.logging.log4j', name: 'log4j-slf4j2-impl')
72-
annotationProcessor platform(group: 'org.apache.logging.log4j', name: 'log4j-bom', version: '2.24.3')
72+
annotationProcessor platform(group: 'org.apache.logging.log4j', name: 'log4j-bom', version: '2.25.1')
7373
annotationProcessor(group: 'org.apache.logging.log4j', name: 'log4j-core')
7474

7575
implementation(group: 'de.vandermeer', name: 'asciitable', version: '0.3.2')

vividus/src/test/java/org/vividus/log/AllureLogAppenderTests.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019-2024 the original author or authors.
2+
* Copyright 2019-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -37,8 +37,8 @@
3737
import org.junit.jupiter.api.Test;
3838
import org.junit.jupiter.api.TestMethodOrder;
3939
import org.junit.jupiter.api.extension.ExtendWith;
40+
import org.junitpioneer.jupiter.StdErr;
4041
import org.junitpioneer.jupiter.StdIo;
41-
import org.junitpioneer.jupiter.StdOut;
4242
import org.mockito.Mock;
4343
import org.mockito.junit.jupiter.MockitoExtension;
4444
import org.vividus.report.allure.AllureStoryReporter;
@@ -54,13 +54,13 @@ class AllureLogAppenderTests
5454

5555
@Test
5656
@StdIo
57-
// Need to be sure static initializations are performed with default value of System.out
57+
// Need to be sure static initializations are performed with default value of System.err
5858
// in org.apache.logging.log4j.status.StatusLogger
5959
@Order(1)
60-
void shouldNotCreateAppenderWithNullName(StdOut stdOut)
60+
void shouldNotCreateAppenderWithNullName(StdErr stdErr)
6161
{
6262
var appender = AllureLogAppender.createAppender(null, filter, layout);
63-
assertThat(stdOut.capturedString(), containsString("ERROR No name provided for AllureLogAppender"));
63+
assertThat(stdErr.capturedString(), containsString("ERROR No name provided for AllureLogAppender"));
6464
assertNull(appender);
6565
}
6666

0 commit comments

Comments
 (0)