Skip to content

Commit

Permalink
[#2202] Change log level from WARN to INFO when bean not found in App…
Browse files Browse the repository at this point in the history
…licationContext

Closes #2202
  • Loading branch information
remkop committed Apr 9, 2024
1 parent 45f949b commit a82062b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Artifacts in this release are signed by Remko Popma (6601 E5C0 8DCC BB96).
## <a name="4.7.6-fixes"></a> Fixed issues

* [#2102][#2107] Enhancement: `PropertiesDefaultProvider` should try to load properties from classpath (last). Thanks to [Lumír Návrat](https://github.com/rimuln) for the pull request.
* [#2202] Enhancement: Change log level from WARN to INFO when bean not found in ApplicationContext. Thanks to [Desmond Kirrane](https://github.com/dkirrane) for raising this.
* [#2058] Bugfix: `defaultValue` should not be applied in addition to user-specified value for options with a custom `IParameterConsumer`. Thanks to [Staffan Arvidsson McShane](https://github.com/StaffanArvidsson) for raising this.
* [#2148] Bugfix: Fix NPE in jline3 `Example.jar` as `ConfigurationPath` cannot be `null` anymore. Thanks to [llzen44](https://github.com/llzen44) for the pull request.
* [#2232] Bugfix: fix bug for `Optional<T>` arguments with initial value. Thanks to [hq6](https://github.com/hq6) for raising this.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public <K> K create(Class<K> clazz) throws Exception {
try {
return getBeanOrCreate(clazz);
} catch (Exception e) {
logger.warning(String.format(
"Unable to get bean of class %s, using fallback factory %s (%s)",
logger.info(String.format(
"Unable to get bean of class %s from ApplicationContext, using fallback factory %s (%s)",
clazz, fallbackFactory.getClass().getName(), e.toString()));
return fallbackFactory.create(clazz);
}
Expand Down

0 comments on commit a82062b

Please sign in to comment.