Project

General

Profile

« Previous | Next » 

Revision 7587

clean up logging for hz config file error

View differences:

metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/SystemMetadataEventListener.java
99 99
                "dataone.hazelcast.storageCluster.systemMetadataMap");
100 100
        String hzObjectPath = Settings.getConfiguration().getString(
101 101
                "dataone.hazelcast.storageCluster.objectPathMap");
102
        
103
        String configFileName = null;
102
        String configFileName = Settings.getConfiguration().getString(
103
        		"dataone.hazelcast.configFilePath");;
104 104
    	Config hzConfig = null;
105 105
		try {
106
    		configFileName = Settings.getConfiguration().getString("dataone.hazelcast.configFilePath");
107 106
    		hzConfig = new FileSystemXmlConfig(configFileName);
108 107
    	} catch (FileNotFoundException e) {
109
			e.printStackTrace();
108
    		log.error("could not load hazelcast configuration file from: " + configFileName, e);
109
			//e.printStackTrace();
110 110
    	}
111 111
		
112 112
        String hzGroupName = hzConfig.getGroupConfig().getName();

Also available in: Unified diff