A new hook point "EmailPreLog" is included in WHMCS 7.0 and provides the ability to intercept and alter the logging.