better name for logging conf property
This commit is contained in:
parent
d4457e3d53
commit
d9b68ccaed
@ -55,7 +55,7 @@ public class QueueServer extends QueueCommons implements MessageListener, Except
|
|||||||
Properties props = new Properties(System.getProperties());
|
Properties props = new Properties(System.getProperties());
|
||||||
props.load(propStream);
|
props.load(propStream);
|
||||||
propStream.close();
|
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();
|
final QueueServer qServ = new QueueServer();
|
||||||
qServ.setJmsFactory(props.getProperty("hsadmin.jms.factory"));
|
qServ.setJmsFactory(props.getProperty("hsadmin.jms.factory"));
|
||||||
qServ.setJmsSystemQueue(props.getProperty("hsadmin.jms.system-queue"));
|
qServ.setJmsSystemQueue(props.getProperty("hsadmin.jms.system-queue"));
|
||||||
|
Loading…
Reference in New Issue
Block a user