Log as error failure to send to Kafka
Exception on failure to send to Kafka was only being logged at the debug level. Increased to error level as this is a major failure in the Threshold Engine functionality Change-Id: I131d6d7a20cd0e907334cf5d0ff6fac342e8f320
This commit is contained in:
parent
be22e54fd7
commit
106088887a
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP
|
* (C) Copyright 2014-2016,2018 Hewlett Packard Enterprise Development LP
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@ -241,7 +241,7 @@ public class AlarmThresholdingBolt extends BaseRichBolt {
|
|||||||
try {
|
try {
|
||||||
alarmEventForwarder.send(Serialization.toJson(event));
|
alarmEventForwarder.send(Serialization.toJson(event));
|
||||||
} catch (Exception ignore) {
|
} catch (Exception ignore) {
|
||||||
logger.debug("Failure sending alarm", ignore);
|
logger.error("Failure sending alarm", ignore);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user