Skip to content

Commit 61231f4

Browse files
committed
Fix grammer in error message.
1 parent 7b9d8d2 commit 61231f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

powertools-logging/src/main/java/software/amazon/lambda/powertools/logging/internal/LoggingManagerRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static LoggingManager selectLoggingManager(List<LoggingManager> loggingManagerLi
8888
printStream.println("WARN. Found LoggingManager: [" + manager + "]");
8989
}
9090
printStream.println(
91-
"WARN. Make sure to have only one of powertools-logging-log4j OR powertools-logging-logback to your dependencies");
91+
"WARN. Make sure to have only one of powertools-logging-log4j OR powertools-logging-logback in your dependencies");
9292
printStream.println("WARN. Using the first LoggingManager found on the classpath: ["
9393
+ loggingManagerList.get(0) + "]");
9494
}

powertools-logging/src/test/java/software/amazon/lambda/powertools/logging/internal/LoggingManagerRegistryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void testMultipleLoggingManagers_shouldWarnAndSelectFirstOne() throws Unsupporte
5151
assertThat(output)
5252
.contains("WARN. Multiple LoggingManagers were found on the classpath")
5353
.contains(
54-
"WARN. Make sure to have only one of powertools-logging-log4j OR powertools-logging-logback to your dependencies")
54+
"WARN. Make sure to have only one of powertools-logging-log4j OR powertools-logging-logback in your dependencies")
5555
.contains("WARN. Using the first LoggingManager found on the classpath: [" + list.get(0) + "]");
5656
}
5757

0 commit comments

Comments
 (0)