Logging Exit Routines

A logging exit routine includes two programs aimed at managing the errors found during the masking process.