Details
Description
When Nexus is shutdown, the Uptime is logged - example:
2018-01-08 02:01:03,228+0800 INFO [Thread-6] *SYSTEM org.sonatype.nexus.extender.NexusContextListener - Uptime: 22 hours, 21 minutes, 28 seconds and 576 milliseconds
If the shutdown immediately precedes a Nexus upgrade, it is useful to understand what edition and version was shut down immediately preceding the upgrade.
Expected
- include the last active edition and version that was shutdown, in the uptime message:
Example: Uptime: 22 hours, 21 minutes, 28 seconds and 576 milliseconds (nexus-pro-edition/3.7.1.02)
- make sure that if there is a license change during the last run of the server, the reported edition accurately reflects that last change
Note: The edition version string example suggested here is the same one seen during these messages on startup:
2018-01-08 02:13:22,253+0800 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.osgi.BootstrapListener - Initializing 2018-01-08 02:13:22,263+0800 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.osgi.BootstrapListener - Installing: nexus-pro-edition/3.7.1.02 2018-01-08 02:13:23,448+0800 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.bootstrap.osgi.BootstrapListener - Installed: nexus-pro-edition/3.7.1.02
Another format of edition version could be acceptable as well, open to suggestions.