aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/smpp/EnquireLinkTask.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-02-22 16:25:47 +0500
committerAbyss777 <abyss@fox5.ru>2017-02-22 16:25:47 +0500
commit53236979ca2298a4722512d49f5ebb07b550a914 (patch)
treede8e559fce581f6096ed4993b03c71af3d7dfa91 /src/org/traccar/smpp/EnquireLinkTask.java
parentbd2a8efaddacbd8d8386ae38f000b633845639ab (diff)
downloadtrackermap-server-53236979ca2298a4722512d49f5ebb07b550a914.tar.gz
trackermap-server-53236979ca2298a4722512d49f5ebb07b550a914.tar.bz2
trackermap-server-53236979ca2298a4722512d49f5ebb07b550a914.zip
- Simplify delivery log message
- Use warning instead of error
Diffstat (limited to 'src/org/traccar/smpp/EnquireLinkTask.java')
-rw-r--r--src/org/traccar/smpp/EnquireLinkTask.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/smpp/EnquireLinkTask.java b/src/org/traccar/smpp/EnquireLinkTask.java
index 22347b6f4..9a3121e24 100644
--- a/src/org/traccar/smpp/EnquireLinkTask.java
+++ b/src/org/traccar/smpp/EnquireLinkTask.java
@@ -43,13 +43,13 @@ public class EnquireLinkTask implements Runnable {
smppSession.enquireLink(new EnquireLink(), enquireLinkTimeout);
} catch (SmppTimeoutException | SmppChannelException
| RecoverablePduException | UnrecoverablePduException error) {
- Log.warning("Enquire link failed, executing reconnect: " + error);
+ Log.warning("Enquire link failed, executing reconnect: ", error);
smppClient.reconnect();
} catch (InterruptedException error) {
Log.info("Enquire link interrupted, probably killed by reconnecting");
}
} else {
- Log.error("Enquire link running while session is not connected");
+ Log.warning("Enquire link running while session is not connected");
}
}