Added scripted use cases

Minor changes to logging
This commit is contained in:
selva.andre
2013-09-23 11:46:48 +02:00
parent 56faccd2fc
commit 7bcaadf6ee
8 changed files with 169 additions and 23 deletions
@@ -53,7 +53,7 @@ public class Server {
}
public void startServer(String nioFrameworkType) throws IOException {
LOG.info("Starting server with " + nioFrameworkType + " connectors");
System.out.println("Starting server with " + nioFrameworkType + " connectors");
messaging = SimpleMessaging.getInstance();
messaging.init();
@@ -66,10 +66,10 @@ public class Server {
}
public void stopServer() {
LOG.info("Server stopping...");
System.out.println("Server stopping...");
messaging.stop();
m_acceptor.close();
LOG.info("Server stopped");
System.out.println("Server stopped");
}
+2 -2
View File
@@ -9,9 +9,9 @@ log4j.rootLogger=ERROR, A1
#log4j.logger.org.dna.mqtt.moquette.proto.MQTTLoggingFilter=DEBUG
#log4j.logger.org.dna.mqtt.moquette.proto.PublishDecoder=DEBUG
log4j.logger.org.dna.mqtt=INFO
log4j.logger.org.dna.mqtt=WARN
log4j.logger.org.dna.mqtt.moquette.server.ServerIntegrationFuseTest=DEBUG
log4j.logger.org.dna.mqtt.moquette.messaging.spi.impl.ProtocolProcessor=DEBUG
log4j.logger.org.dna.mqtt.moquette.messaging.spi.impl.ProtocolProcessor=WARN
# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender