// Initialise the device pattern cache.
initialiseDevicePatternCache(repository, accessor);
// Return the default device repository impl using the XML
// repository and accessor we just created.
final UnknownDevicesLogger logger;
if (unknownDevicesLogFileName != null &&
unknownDevicesLogFileName.length() > 0) {
final File logFile = new File(unknownDevicesLogFileName);
logger = UnknownDevicesLogger.getLogger(logFile);
} else {