Better Log messages

This commit is contained in:
Eldon
2014-01-24 18:49:04 -08:00
parent ab3aadf199
commit b33d3faa75
@@ -108,7 +108,7 @@ public class AMQPPublishProcessor extends Processor {
threadChannel.set(connection.createChannel());
}
} catch (IOException e) {
logger.log(Level.SEVERE, "Attempting to create channel for AMQP connection to AMQP server failed!", e);
logger.log(Level.SEVERE, "Attempting to create channel for AMQP connection failed!", e);
}
}
return threadChannel.get();
@@ -120,7 +120,7 @@ public class AMQPPublishProcessor extends Processor {
factory.setUri(amqpUri);
connection = factory.newConnection();
} catch (Exception e) {
logger.log(Level.SEVERE, "Attempting to connect to AMQP for AMQP server failed!", e);
logger.log(Level.SEVERE, "Attempting to connect to AMQP server failed!", e);
}
}