Set debug level only if and when resolver is present.