mirror of https://github.com/apache/activemq.git
Polished the logging
This commit is contained in:
parent
0214bfbfcd
commit
59af7479b2
|
@ -252,7 +252,7 @@ public class TransportConnector implements Connector, BrokerServiceAware {
|
|||
this.statusDector.start();
|
||||
}
|
||||
|
||||
LOG.info("Connector {} Started", getName());
|
||||
LOG.info("Connector {} started", getName());
|
||||
}
|
||||
|
||||
public String getPublishableConnectString() throws Exception {
|
||||
|
@ -283,7 +283,7 @@ public class TransportConnector implements Connector, BrokerServiceAware {
|
|||
}
|
||||
server = null;
|
||||
ss.throwFirstException();
|
||||
LOG.info("Connector {} Stopped", getName());
|
||||
LOG.info("Connector {} stopped", getName());
|
||||
}
|
||||
|
||||
// Implementation methods
|
||||
|
|
|
@ -168,11 +168,11 @@ public abstract class NetworkConnector extends NetworkBridgeConfiguration implem
|
|||
if (localURI == null) {
|
||||
throw new IllegalStateException("You must configure the 'localURI' property");
|
||||
}
|
||||
LOG.info("Network Connector {} Started", this);
|
||||
LOG.info("Network Connector {} started", this);
|
||||
}
|
||||
|
||||
protected void handleStop(ServiceStopper stopper) throws Exception {
|
||||
LOG.info("Network Connector {} Stopped", this);
|
||||
LOG.info("Network Connector {} stopped", this);
|
||||
}
|
||||
|
||||
public boolean isStarted() {
|
||||
|
|
|
@ -91,7 +91,7 @@ public abstract class JmsConnector implements Service {
|
|||
bridge.stop();
|
||||
LOG.info("Expired bridge: {}", bridge);
|
||||
} catch (Exception e) {
|
||||
LOG.warn("stopping expired bridge {} caused an exception", bridge, e);
|
||||
LOG.warn("Stopping expired bridge {} caused an exception", bridge, e);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
@ -160,7 +160,7 @@ public abstract class JmsConnector implements Service {
|
|||
for (DestinationBridge bridge : outboundBridges) {
|
||||
bridge.start();
|
||||
}
|
||||
LOG.info("JMS Connector {} Started", getName());
|
||||
LOG.info("JMS Connector {} started", getName());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -176,7 +176,7 @@ public abstract class JmsConnector implements Service {
|
|||
for (DestinationBridge bridge : outboundBridges) {
|
||||
bridge.stop();
|
||||
}
|
||||
LOG.info("JMS Connector {} Stopped", getName());
|
||||
LOG.info("JMS Connector {} stopped", getName());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ public class ProxyConnector implements Service {
|
|||
}
|
||||
});
|
||||
getServer().start();
|
||||
LOG.info("Proxy Connector {} Started", getName());
|
||||
LOG.info("Proxy Connector {} started", getName());
|
||||
|
||||
}
|
||||
|
||||
|
@ -85,7 +85,7 @@ public class ProxyConnector implements Service {
|
|||
ss.stop(iter.next());
|
||||
}
|
||||
ss.throwFirstException();
|
||||
LOG.info("Proxy Connector {} Stopped", getName());
|
||||
LOG.info("Proxy Connector {} stopped", getName());
|
||||
}
|
||||
|
||||
// Properties
|
||||
|
|
|
@ -64,7 +64,7 @@ public class ElectingLevelDBStoreTest {
|
|||
connector = new NIOServerCnxnFactory();
|
||||
connector.configure(new InetSocketAddress(0), 100);
|
||||
connector.startup(zk_server);
|
||||
System.out.println("ZooKeeper Started");
|
||||
System.out.println("ZooKeeper started");
|
||||
}
|
||||
|
||||
@After
|
||||
|
|
|
@ -45,7 +45,7 @@ public class ZooKeeperPartitionBrokerTest extends PartitionBrokerTest {
|
|||
connector = new NIOServerCnxnFactory();
|
||||
connector.configure(new InetSocketAddress(0), 100);
|
||||
connector.startup(zk_server);
|
||||
System.out.println("ZooKeeper Started");
|
||||
System.out.println("ZooKeeper started");
|
||||
super.setUp();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue