aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2020-01-22 12:02:09 +0000
committerGerrit Code Review <gerrit@onap.org>2020-01-22 12:02:09 +0000
commitd3ddb3de43323a6af65b29777e79e68621d67227 (patch)
treec530df07a0b608ccf1a56cffab3133b0952070b1 /main
parent736a330b2945a4eb597de58158550de72fb46483 (diff)
parentfc683069fba43eab9d69c93e0334c043b7faaa5c (diff)
Merge "Log message when a PDP's heart beats are missed"
Diffstat (limited to 'main')
-rw-r--r--main/src/main/java/org/onap/policy/pap/main/comm/PdpTracker.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/main/java/org/onap/policy/pap/main/comm/PdpTracker.java b/main/src/main/java/org/onap/policy/pap/main/comm/PdpTracker.java
index 04dfe813..f79326dc 100644
--- a/main/src/main/java/org/onap/policy/pap/main/comm/PdpTracker.java
+++ b/main/src/main/java/org/onap/policy/pap/main/comm/PdpTracker.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* ONAP PAP
* ================================================================================
- * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -140,6 +140,7 @@ public class PdpTracker {
private void handleTimeout(String pdpName) {
synchronized (modifyLock) {
// remove timer - no need to cancel it, as TimerManager does that
+ logger.warn("missed heart beats - removing PDP {}", pdpName);
pdp2timer.remove(pdpName);
try {