Invalid minor version for plugins logged during the IdP startup
Basics
Logistics
Basics
Logistics
Description
Right after logging its own version and Java version, IdP also logs plugin versions on INFO-level to ids-process log during the startup.
However, the minor versions of the plugins are always incorrect, not depending on the plugin. In an example case, OIDC commons 2.1.0, OP 3.2.1 and JDBC 1.0.4 plugins are installed but the following lines are logged:
The plugin CLI tool displays the versions correctly:
After reviewing the code, this is caused by the fact that LogbackLoggingService is logging the major version in the place of the minor:
Environment
None
Activity
Scott Cantor
September 2, 2022 at 12:49 PM
Applied to both branches.
Henri Mikkonen
September 2, 2022 at 10:12 AM
The same typo seems to exists in the 4.3 codebase (class LogImplementationDetails)
Right after logging its own version and Java version, IdP also logs plugin versions on INFO-level to ids-process log during the startup.
However, the minor versions of the plugins are always incorrect, not depending on the plugin. In an example case, OIDC commons 2.1.0, OP 3.2.1 and JDBC 1.0.4 plugins are installed but the following lines are logged:
The plugin CLI tool displays the versions correctly:
After reviewing the code, this is caused by the fact that LogbackLoggingService is logging the major version in the place of the minor: