log.info("Loading: " + fileName + " - "
log.debug("Loading: " + fileName + " - "
    public void load() {        cache.removeAllObjects();        createdKeys.removeAllObjects();        if (log.isDebugEnabled())            log.debug("Loading templates for language: " + language + " for files: "                      + fileNamesToWatch() + " with search path: " + frameworkSearchPath());                NSArray languages = new NSArray(language);        Enumeration fn = fileNamesToWatch().objectEnumerator();        while(fn.hasMoreElements()) {            String fileName = (String)fn.nextElement();            Enumeration fr = frameworkSearchPath().reverseObjectEnumerator();            while(fr.hasMoreElements()) {                String framework = (String)fr.nextElement();                                String path = ERXFileUtilities.pathForResourceNamed(fileName, framework, languages);                if(path != null) {                    try {                        framework = "app".equals(framework) ? null : framework;                        log.info("Loading: " + fileName + " - "                             + (framework == null ? "app" : framework) + " - "                             + languages + ERXFileUtilities.pathForResourceNamed(fileName, framework, languages));                       NSDictionary dict = (NSDictionary)ERXExtensions.readPropertyListFromFileInFramework(fileName, framework, languages);                        cache.addEntriesFromDictionary(dict);                        if(!monitoredFiles.containsObject(path)) {                            ERXFileNotificationCenter.defaultCenter().addObserver(observer, new NSSelector("fileDidChange", ERXConstant.NotificationClassArray), path);                            monitoredFiles.addObject(path);                        }                    } catch(Exception ex) {                        log.warn("Exception loading: " + fileName + " - "                             + (framework == null ? "app" : framework) + " - "                             + languages + ":" + ex);                    }                } else  {                    log.info("Unable to create path for resource named: " + fileName                         + " framework: " + (framework == null ? "app" : framework)                        + " languages: " + languages);                }            }        }    }