Skip to content

Commit 1be898b

Browse files
author
Christopher Frost
committed
Reduce log message for container supports problems
When a container checks its support for a given application its filter may match a bound service due to the user provided name but then subsequently fail when the required credentials are not present. This can happen legitimately as multiple containers can provide overlapping functionality and require similar filters to identify support. [#88312476][#142]
1 parent 4a180f7 commit 1be898b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/java_buildpack/component/services.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def one_service?(filter, *required_credentials)
4646
match = true
4747
else
4848
logger = JavaBuildpack::Logging::LoggerFactory.instance.get_logger Services
49-
logger.warn do
49+
logger.debug do
5050
"A service with a name label or tag matching #{filter} was found, but was missing one of the required" \
5151
" credentials #{required_credentials}"
5252
end

0 commit comments

Comments
 (0)