Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-6209

Log message on shut-down (Continuation of logging system events)

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Top
    • Resolution: Fixed
    • None
    • 2.26.00
    • None
    • None
    • CMS

    Description

      During testing of CMS7-6146, only start-up message are logged in hippo-audit.log
      Vivek would like to include shutdown messages as well.
      ----------------------------------------------------------------------------------------
      Tested on go-green branch with CMS 2.22.07-SNAPSHOT.
      Included below in conf/log4j.xml
      <category additivity="false" name="org.hippoecm.frontend.Main">
      <level value="info"/>
      <appender-ref ref="audit"/>
      </category>
      Upon system start i.e mvn -Pcargo.run, below startup message is shown in hippo-audit.log
      19.06.2012 12:14:11 INFO [org.hippoecm.frontend.Main.init():294] Hippo CMS application cms has started
      19.06.2012 12:14:11 INFO [org.hippoecm.frontend.Main.init():294] Hippo CMS application console has started
      Upon shutdown i.e ctrl + c, below message is shown in hippo-audit.log
      19.06.2012 12:22:48 INFO [org.hippoecm.frontend.Main.onDestroy():306] Number of listeners to remove: 0
      19.06.2012 12:22:48 INFO [org.hippoecm.frontend.Main.onDestroy():306] Number of listeners to remove: 0

      Logs shown above does not related to shutdown. Discussed with Vivek, he likes to have logs similar to startup for shut down as well.

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              jsheriff Junaidh Kadhar Sheriff
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: