Rename SUN schema to generic ENDUSER
Tidy up

Deleted    database/ENDUSER/Triggers/aop_processor_trg.trg
Rename     database/LOGGER/UnitTest/aop_processor_trg.trg (from database/LOGGER/Triggers/aop_processor_trg.trg)
--Moved risky trigger to UnitTest dir and commented it out.
Deleted    database/LOGGER/Grants/sun.grt
--Not needed see enduser.grt
NEW Patch: VER-01_01A_01B_SYS - Create LOGGER schema
NEW Patch: VER-01_01A_01B_LOGGER - Main installation
NEW Patch: VER-01_01A_01B_ENDUSER - Synonyms for EndUser
NEW PATCH: VER-01_01A_01B_LOGGER_A - Grant to EndUser
Missing grant file
Tuned aop_source_v

Modified   database/LOGGER/Packages/aop_processor.pkb
Modified   database/LOGGER/Packages/aop_processor.pks
--NEW function using_aop
Modified   database/LOGGER/Views/aop_source_v.vw
--REPLACE inline query with call to aop_processor.using_aop
Smartlogger Log Trawler and Process Purging

Added      database/LOGGER/Tables/ms_config.tab  --NEW
Add        database/LOGGER/Data/ms_config_pop.sql

Modified   database/LOGGER/Packages/ms_api.pkb
Modified   database/LOGGER/Packages/ms_api.pks
--NEW function f_config_value
--NEW PROCEDURE trawl_log_for_errors
--Also added i_dir to URL params
Modified   database/LOGGER/Tables/aop_source.tab
--NEW column OWNER
Add        database/LOGGER/Jobs/log_trawler.job
--calls trawl_log_for_errors hourly
Add        database/LOGGER/Jobs/purge_processes.job
--calls ms_api.purge_old_processes hourly
Add        database/LOGGER/Views/ms_process_v2.vw
--Can be used by the main process list on p8
Tested log_trawler

Modified   database/LOGGER/Data/ms_config_pop.sql --configure to use APEX_MAIL
Modified   database/LOGGER/Jobs/log_trawler.job     --hourly
Modified   database/LOGGER/Jobs/purge_processes.job --hourly
Modified   database/LOGGER/Packages/ms_api.pkb
--RENAMED PROCEDURE smtp_mail FROM mail
--MOD PROCEDURE trawl_log_for_errors - now uses either smtp_mail or apex_mail
NEW Patch: VER-01_02A_02B_LOGGER - Smartlogger Log Trawler and Process Purging
Make jobs 10mins and tidy data

Modified   database/LOGGER/Data/ms_config_pop.sql
Modified   database/LOGGER/Jobs/log_trawler.job
Modified   database/LOGGER/Jobs/purge_processes.job