Improves logging.
This commit is contained in:
parent
fa3e6c8357
commit
6370fbca8f
@ -756,7 +756,8 @@ class ConnectivityCheckClient
|
|||||||
" will mark the pair as FAILED.");
|
" will mark the pair as FAILED.");
|
||||||
logger.info(
|
logger.info(
|
||||||
"Error response for pair: " + pair.toShortString() +
|
"Error response for pair: " + pair.toShortString() +
|
||||||
", failing. Code = " + code);
|
", failing. Code = " + code +
|
||||||
|
"(class=" + cl + "; number=" + co + ")");
|
||||||
pair.setStateFailed();
|
pair.setStateFailed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -133,7 +133,7 @@ class CandidateHarvesterSetElement
|
|||||||
*/
|
*/
|
||||||
public void setEnabled(boolean enabled)
|
public void setEnabled(boolean enabled)
|
||||||
{
|
{
|
||||||
logger.info("Disabling: " + harvester);
|
logger.info((enabled ? "Enabling: " : "Disabling: ") + harvester);
|
||||||
this.enabled = enabled;
|
this.enabled = enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -164,4 +164,4 @@ class CandidateHarvesterSetElement
|
|||||||
{
|
{
|
||||||
harvester.getHarvestStatistics().stopHarvestTiming(harvest);
|
harvester.getHarvestStatistics().stopHarvestTiming(harvest);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user