diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-15 18:16:21 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-15 18:16:21 +1200 |
commit | fc1ef8342339e72e5d4a88ac953dfaafc3cc3b63 (patch) | |
tree | 76aa5439b98e5e182164e0baf3b64add81af187e /src/org/traccar/smpp/SmppClient.java | |
parent | dc3559a9cc49206e87f26349b8f8a41398f299b5 (diff) | |
download | trackermap-server-fc1ef8342339e72e5d4a88ac953dfaafc3cc3b63.tar.gz trackermap-server-fc1ef8342339e72e5d4a88ac953dfaafc3cc3b63.tar.bz2 trackermap-server-fc1ef8342339e72e5d4a88ac953dfaafc3cc3b63.zip |
Fix logging level issues
Diffstat (limited to 'src/org/traccar/smpp/SmppClient.java')
-rw-r--r-- | src/org/traccar/smpp/SmppClient.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/smpp/SmppClient.java b/src/org/traccar/smpp/SmppClient.java index c9869cb9c..d4f201871 100644 --- a/src/org/traccar/smpp/SmppClient.java +++ b/src/org/traccar/smpp/SmppClient.java @@ -211,7 +211,7 @@ public class SmppClient implements SmsManager { private void destroySession() { if (smppSession != null) { - LOGGER.debug("Cleaning up SMPP session... "); + LOGGER.info("Cleaning up SMPP session... "); smppSession.destroy(); smppSession = null; } @@ -242,7 +242,7 @@ public class SmppClient implements SmsManager { submit.setDestAddress(new Address(destTon, destNpi, destAddress)); SubmitSmResp submitResponce = getSession().submit(submit, submitTimeout); if (submitResponce.getCommandStatus() == SmppConstants.STATUS_OK) { - LOGGER.debug("SMS submitted, message id: " + submitResponce.getMessageId()); + LOGGER.info("SMS submitted, message id: " + submitResponce.getMessageId()); } else { throw new IllegalStateException(submitResponce.getResultMessage()); } |