You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2011/04/13 20:02:04 UTC
svn commit: r1091865 -
/activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Broker.scala
Author: chirino
Date: Wed Apr 13 18:02:04 2011
New Revision: 1091865
URL: http://svn.apache.org/viewvc?rev=1091865&view=rev
Log:
Report the apollo install location when starting up the broker.
Modified:
activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Broker.scala
Modified: activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Broker.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Broker.scala?rev=1091865&r1=1091864&r2=1091865&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Broker.scala (original)
+++ activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Broker.scala Wed Apr 13 18:02:04 2011
@@ -389,9 +389,13 @@ class Broker() extends BaseService {
"%s %s (%s)".format(vm, version, vendor)
}
+ val location_info = Option(System.getProperty("apollo.home")).map { home=>
+ " (at: "+new File(home).getCanonicalPath+")"
+ }.getOrElse("")
+
console_log.info("OS : %s", os)
console_log.info("JVM : %s", jvm)
- console_log.info("Apollo : %s", Broker.version)
+ console_log.info("Apollo : %s%s", Broker.version, location_info)
}
private def check_file_limit:Unit = {