mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-17 11:17:06 +00:00
Better Log messages
This commit is contained in:
1 parent
ab3aadf199
commit
b33d3faa75
1 file changed
+2
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user