Minor change, improved logging info
This commit is contained in:
@@ -63,6 +63,9 @@ public class Server {
|
||||
* Starts Moquette bringing the configuration from the given file
|
||||
*/
|
||||
public void startServer(File configFile) throws IOException {
|
||||
LOG.info("Using config file: " + configFile.getAbsolutePath());
|
||||
LOG.info("Persistent store file: " + STORAGE_FILE_PATH);
|
||||
|
||||
ConfigurationParser confParser = new ConfigurationParser();
|
||||
try {
|
||||
confParser.parse(configFile);
|
||||
|
||||
@@ -119,7 +119,7 @@ public class NettyAcceptor implements ServerAcceptor {
|
||||
try {
|
||||
// Bind and start to accept incoming connections.
|
||||
ChannelFuture f = b.bind(host, port);
|
||||
LOG.info("Server binded");
|
||||
LOG.info("Server binded host: {}, port: {}", host, port);
|
||||
f.sync();
|
||||
} catch (InterruptedException ex) {
|
||||
LOG.error(null, ex);
|
||||
|
||||
Reference in New Issue
Block a user