Case 3196 - Logging errors to watchdog.