I would turn the logging around: instead of “complaining” that none was configured, only log when one was given—at DEBUG level as well.