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
Just a suggestion, but consider splitting out the StandaloneMockOAuth2Server along with the logback.xml file to a separate library/runnable.
Currently if there's no logback.xml or logback-test.xml defined in the importing project then logback will pick up the provided implementation which now comes from mock-oauth2-server.
Alternatively consider overriding the logback.configurationFile property before starting the standalone server and/or rename the file to something like logback-standalone.xml
The following is output from the logging system showing that the logback.xml is bundled with the library and the warning about the deprecated construct mentioned above.
The text was updated successfully, but these errors were encountered:
* fix deprecated pattern layout
* rename to logback-standalone.xml as to not override any default logback.xml files
* add env var to byo config file
fix#403 and #658
Just a suggestion, but consider splitting out the
StandaloneMockOAuth2Server
along with the logback.xml file to a separate library/runnable.Currently if there's no logback.xml or logback-test.xml defined in the importing project then logback will pick up the provided implementation which now comes from mock-oauth2-server.
Alternatively consider overriding the
logback.configurationFile
property before starting the standalone server and/or rename the file to something likelogback-standalone.xml
Additionaly layout + pattern is a deprecated construct in logback, use an encoder instead. https://logback.qos.ch/codes.html#layoutInsteadOfEncoder
the above would be the correct configuration.
The following is output from the logging system showing that the logback.xml is bundled with the library and the warning about the deprecated construct mentioned above.

The text was updated successfully, but these errors were encountered: