mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-13 17:26:01 +00:00
Better Log messages
This commit is contained in:
@@ -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