add metadata-tag for the system event pre-render view in every page. Logging in the preDestroy method of every bean.