recover the log output when external key auth failed