aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/St210ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-07-30 20:42:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-07-30 20:42:02 +1200
commit110c49504f87c025423c923500bd52ea4615b33b (patch)
tree2398fd3fa3286b35b6f80cad51b59703d3065b6e /src/org/traccar/protocol/St210ProtocolDecoder.java
parent5f75f109dfc1140d2f644857d877baf88cb1fe83 (diff)
downloadtrackermap-server-110c49504f87c025423c923500bd52ea4615b33b.tar.gz
trackermap-server-110c49504f87c025423c923500bd52ea4615b33b.tar.bz2
trackermap-server-110c49504f87c025423c923500bd52ea4615b33b.zip
Improve logging system (fix #278)
Diffstat (limited to 'src/org/traccar/protocol/St210ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/St210ProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/St210ProtocolDecoder.java b/src/org/traccar/protocol/St210ProtocolDecoder.java
index 432c9c1fa..797ed9eb0 100644
--- a/src/org/traccar/protocol/St210ProtocolDecoder.java
+++ b/src/org/traccar/protocol/St210ProtocolDecoder.java
@@ -615,10 +615,10 @@ public class St210ProtocolDecoder extends BaseProtocolDecoder {
try{
position = decodeMsg(sentence);
- Log.info("MESSAGE DECODED WITH SUCCESS!");
+ Log.info("Message decoded with success");
}
catch(Exception e){
- Log.severe("ERROR WHILE DECODING MESSAGE: " + e.getMessage());
+ Log.warning(e);
}
return position;