Details
-
Improvement
-
Status: Closed
-
Top
-
Resolution: Fixed
-
None
-
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
- is a part of
-
CMS-6146 Add System logger for logging system events
- Closed