Injecting a basic logger. Verifying the logging of a recovery handler