Close log and mail stream at cleanup
Write message to log at xxfi_eom