Skip to content

Commit fa71a15

Browse files
authored
Update error messages in LoggerFactoryLocator and bump version to 6.0.5 (#140)
1 parent 3081c45 commit fa71a15

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
<groupId>io.github.elf4j</groupId>
3232
<artifactId>elf4j</artifactId>
33-
<version>6.0.4</version>
33+
<version>6.0.5</version>
3434
<packaging>jar</packaging>
3535
<name>elf4j</name>
3636
<description>API and SPI of Easy Logging Facade for Java (ELF4J)</description>

src/main/java/elf4j/LoggerFactoryLocator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private static LoggerFactory locate(
8080
}
8181
default: {
8282
LOGGER.error(String.format(
83-
"Failed back to NOP: Nothing specified to select from multiple loaded elf4j SPI implementations %s: Either select one via system property '%s', or set up to load only one SPI implementation",
83+
"Falling back to NOP: Nothing specified to select from multiple loaded elf4j SPI implementations %s: Either select one via system property '%s', or set up to load only one SPI implementation",
8484
loadedLoggerFactories, ELF4J_SERVICE_PROVIDER_FQCN));
8585
return new NoopLoggerFactory();
8686
}
@@ -97,7 +97,7 @@ private static LoggerFactory locate(
9797
}
9898
}
9999
LOGGER.error(String.format(
100-
"Failed back to NOP: Specified elf4j SPI implementation not found: specified fqcn='%s', loaded collection=%s",
100+
"Falling back to NOP: Specified elf4j SPI implementation not found: specified fqcn='%s', loaded collection=%s",
101101
specifiedLoggerFactoryFqcn, loadedLoggerFactories));
102102
return new NoopLoggerFactory();
103103
}

0 commit comments

Comments
 (0)