Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-17849

log configuration properties at shutdown

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.13.0
    • Fix Version/s: None
    • Component/s: Bootstrap, Logging
    • Labels:

      Description

      Print this information at shutdown ( not just startup ):

      2018-08-26 08:09:25,592-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - Properties:
      2018-08-26 08:09:25,592-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   application-host='0.0.0.0'
      2018-08-26 08:09:25,593-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   application-port='8081'
      2018-08-26 08:09:25,593-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   fabric.etc='/opt/nexus-3.13.0-01/etc/fabric'
      2018-08-26 08:09:25,593-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   jetty.etc='/opt/nexus-3.13.0-01/etc/jetty'
      2018-08-26 08:09:25,593-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   karaf.base='/opt/nexus-3.13.0-01'
      2018-08-26 08:09:25,593-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   karaf.data='/opt/sonatype-work/nexus3'
      2018-08-26 08:09:25,593-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   karaf.etc='/opt/nexus-3.13.0-01/etc/karaf'
      2018-08-26 08:09:25,593-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   karaf.home='/opt/nexus-3.13.0-01'
      2018-08-26 08:09:25,593-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   karaf.instances='/opt/sonatype-work/nexus3/instances'
      2018-08-26 08:09:25,593-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   logback.etc='/opt/nexus-3.13.0-01/etc/logback'
      2018-08-26 08:09:25,594-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus-args='/opt/nexus-3.13.0-01/etc/jetty/jetty.xml,/opt/nexus-3.13.0-01/etc/jetty/jetty-http.xml,/opt/nexus-3.13.0-01/etc/jetty/jetty-requestlog.xml'
      2018-08-26 08:09:25,594-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus-context-path='/'
      2018-08-26 08:09:25,594-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus-edition='nexus-pro-edition'
      2018-08-26 08:09:25,594-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus-features='nexus-pro-feature'
      2018-08-26 08:09:25,594-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus.clustered='false'
      2018-08-26 08:09:25,594-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus.clustered.nodeName='NexusHDQ-One'
      2018-08-26 08:09:25,594-0500 INFO  [FelixStartLevel]  *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   ssl.etc='/opt/nexus-3.13.0-01/etc/ssl'
      2018-08-26 08:09:25,595-0500 INFO  [FelixStartLevel] NexusHDQ-One *SYSTEM org.sonatype.nexus.bootstrap.Launcher - Java: 1.8.0_152, Java HotSpot(TM) 64-Bit Server VM, Oracle Corporation, 25.152-b16
      2018-08-26 08:09:25,595-0500 INFO  [FelixStartLevel] NexusHDQ-One *SYSTEM org.sonatype.nexus.bootstrap.Launcher - OS: Linux, 3.10.0-514.36.5.el7.x86_64, amd64
      2018-08-26 08:09:25,595-0500 INFO  [FelixStartLevel] NexusHDQ-One *SYSTEM org.sonatype.nexus.bootstrap.Launcher - User: nexus, en, /opt/homes/nexus
      2018-08-26 08:09:25,595-0500 INFO  [FelixStartLevel] NexusHDQ-One *SYSTEM org.sonatype.nexus.bootstrap.Launcher - CWD: /opt/nexus-3.13.0-01
      2018-08-26 08:09:25,599-0500 INFO  [FelixStartLevel] NexusHDQ-One *SYSTEM org.sonatype.nexus.bootstrap.Launcher - TMP: /opt/sonatype-work/nexus3/tmp
      2018-08-26 08:09:25,614-0500 INFO  [FelixStartLevel] NexusHDQ-One *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Starting
      
      

      Use Case

      Users make a change that requires a restart. The change is often related to the settings they had in the previous run. Printing those settings on shutdown allows us to easily compare the previous run with the new startup if something goes wrong.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            plynch Peter Lynch
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                tigCommentSecurity.panel-title