You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Spring Boot version is 3.2.7. The logging.config is set to a URL that can load an XML file, but the URL address does not end with ".xml", which causes the project to fail to start. The error occurs at the if (url.getPath().endsWith(".xml")) line in the LogbackLoggingSystem's configureByResourceUrl method. By comparing the source code, I found that in previous versions, the judgment code here was not through getPath(), but toString(). Can the source code be modified to support URLs whose paths do not end with ".xml"?
The text was updated successfully, but these errors were encountered:
My Spring Boot version is 3.2.7. The
logging.config
is set to a URL that can load an XML file, but the URL address does not end with ".xml", which causes the project to fail to start. The error occurs at theif (url.getPath().endsWith(".xml"))
line in theLogbackLoggingSystem
'sconfigureByResourceUrl
method. By comparing the source code, I found that in previous versions, the judgment code here was not throughgetPath()
, buttoString()
. Can the source code be modified to support URLs whose paths do not end with ".xml"?The text was updated successfully, but these errors were encountered: