Decrease log level of trailing slash warning

Having an issuer without trailing slash configured is just fine, so
there is no reason to log a warning for this every time the discovery
endpoint is called.
pull/972/merge
Mark Janssen 2017-03-22 22:15:02 +01:00 committed by Justin Richer
parent 6216659cd6
commit 903168a949
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ public class DiscoveryEndpoint {
String baseUrl = config.getIssuer();
if (!baseUrl.endsWith("/")) {
logger.warn("Configured issuer doesn't end in /, adding for discovery: " + baseUrl);
logger.debug("Configured issuer doesn't end in /, adding for discovery: {}", baseUrl);
baseUrl = baseUrl.concat("/");
}