Use the correct logger instance.