better name for logging conf property

This commit is contained in:
Peter Hormanns 2013-04-03 15:16:21 +02:00
parent d4457e3d53
commit d9b68ccaed

View File

@ -55,7 +55,7 @@ public class QueueServer extends QueueCommons implements MessageListener, Except
Properties props = new Properties(System.getProperties());
props.load(propStream);
propStream.close();
System.setProperty("java.util.logging.config.file", props.getProperty("hsadmin.log.file", System.getProperty("user.home") + "/.hsadmin.log.properties"));
System.setProperty("java.util.logging.config.file", props.getProperty("hsadmin.log.config", System.getProperty("user.home") + "/.hsadmin.log.properties"));
final QueueServer qServ = new QueueServer();
qServ.setJmsFactory(props.getProperty("hsadmin.jms.factory"));
qServ.setJmsSystemQueue(props.getProperty("hsadmin.jms.system-queue"));